T
- generic typepublic static class EntryComparator.Value<T extends Comparable> extends Object implements Comparator<Map.Entry<?,T>>
Map.Entry
s by their valuesConstructor and Description |
---|
Value() |
Modifier and Type | Method and Description |
---|---|
EntryComparator.Value<T> |
asc() |
int |
compare(Map.Entry<?,T> o1,
Map.Entry<?,T> o2) |
EntryComparator.Value<T> |
desc() |
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 int compare(Map.Entry<?,T> o1, Map.Entry<?,T> o2)
compare
in interface Comparator<Map.Entry<?,T extends Comparable>>
public EntryComparator.Value<T> asc()
public EntryComparator.Value<T> desc()
Copyright © 2015. All Rights Reserved.