public static class Top.Largest<T extends Comparable<? super T>> extends Object implements Comparator<T>, Serializable
Serializable Comparator that that uses the compared elements' natural
ordering.| Constructor and Description |
|---|
Largest() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T a,
T 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, thenComparingLongpublic int compare(T a, T b)
compare in interface Comparator<T extends Comparable<? super T>>