public static class Top.Smallest<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 reverse of the compared elements'
natural ordering.Constructor and Description |
---|
Smallest() |
Modifier and Type | Method and Description |
---|---|
int |
compare(T a,
T b) |