public class DescendingComparer extends Comparer
Constructor and Description |
---|
DescendingComparer(Comparer base) |
public DescendingComparer(Comparer base)
public int compare(Object a, Object b)
compare
in class Comparer
ClassCastException
- if the objects are of the wrong type for this Comparer