public class EntryValueComparator<K,V extends Comparable<V>> extends Object implements Comparator<Map.Entry<K,V>>
Map.Entry
by their values.Modifier and Type | Field and Description |
---|---|
private boolean |
descending |
Constructor and Description |
---|
EntryValueComparator() |
EntryValueComparator(boolean descending) |
Modifier and Type | Method and Description |
---|---|
int |
compare(Map.Entry<K,V> e1,
Map.Entry<K,V> e2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals