public enum BitSetComparator extends Enum<BitSetComparator> implements Comparator<BitSet>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(BitSet o1,
BitSet o2) |
static BitSetComparator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BitSetComparator[] |
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, valueOfequalspublic static final BitSetComparator INSTANCE
public static BitSetComparator[] values()
for (BitSetComparator c : BitSetComparator.values()) System.out.println(c);
public static BitSetComparator 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 int compare(BitSet o1, BitSet o2)
compare in interface Comparator<BitSet>Copyright © 2014. All Rights Reserved.