public static class Top.Smallest<T extends Comparable<T>> extends Object implements Comparator<T>, Serializable
Serializable Comparator that that uses the
reverse of the compared elements' natural ordering.| Constructor and Description |
|---|
Top.Smallest() |
public int compare(T a, T b)
compare in interface Comparator<T extends Comparable<T>>