T
- the type of objects that may be compared by this comparatorpublic class InverseComparator<T extends java.lang.Comparable<T>>
extends java.lang.Object
implements java.util.Comparator<T>
Constructor and Description |
---|
InverseComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(T o1,
T o2) |