public static class Top.Largest<T extends java.lang.Comparable<? super T>>
extends java.lang.Object
implements java.util.Comparator<T>, java.io.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) |