public static class KV.OrderByValue<K,V extends Comparable<? super V>> extends Object implements SerializableComparator<KV<K,V>>
Comparator that orders KVs by the natural ordering of their values.
A null value is less than any non-null value.
| Constructor and Description |
|---|
OrderByValue() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(KV<K,V> a,
KV<K,V> b) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong