public static class Top.Reversed<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 |
---|
Reversed() |
Modifier and Type | Method and Description |
---|---|
int |
compare(T a,
T b) |