public class DescendingComparer extends Comparer
Constructor and Description |
---|
DescendingComparer(Comparer base) |
Modifier and Type | Method and Description |
---|---|
int |
compare(Object a,
Object b)
Compare two objects.
|
setDataType, setOrder
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