public static class KV.OrderByValue<K,V extends java.lang.Comparable<? super V>> extends java.lang.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, wait
comparing