public enum PipeBitInfoComparator extends Enum<PipeBitInfoComparator> implements Comparator<PipeBitInfo>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
int |
compare(PipeBitInfo info1,
PipeBitInfo info2) |
static PipeBitInfoComparator |
getInstance() |
static PipeBitInfoComparator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PipeBitInfoComparator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final PipeBitInfoComparator INSTANCE
public static PipeBitInfoComparator[] values()
for (PipeBitInfoComparator c : PipeBitInfoComparator.values()) System.out.println(c);
public static PipeBitInfoComparator valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static PipeBitInfoComparator getInstance()
public int compare(PipeBitInfo info1, PipeBitInfo info2)
compare
in interface Comparator<PipeBitInfo>
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.