class HashComparator extends Object implements Comparator<Hash>, Serializable
Modifier and Type | Field and Description |
---|---|
static HashComparator |
_instance |
Constructor and Description |
---|
HashComparator() |
Modifier and Type | Method and Description |
---|---|
static int |
comp(Hash l,
Hash r) |
int |
compare(Hash l,
Hash r) |
static HashComparator |
getInstance()
Thread safe, no state
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final HashComparator _instance
public static HashComparator getInstance()
public int compare(Hash l, Hash r)
compare
in interface Comparator<Hash>