util
Class ReverseOrderComparator
java.lang.Object
|
+--util.ReverseOrderComparator
- public final class ReverseOrderComparator
- extends Object
- implements Comparator
A comparator that reverses the order implied by another comparator.
- Since:
- v3.0
- Version:
- 3.0 12/14/2000
- Author:
- Steffen Zschaler
ReverseOrderComparator
public ReverseOrderComparator(Comparator cmpOrg)
- Creates new ReverseOrderComparator.
equals
public boolean equals(Object o2)
- Specified by:
- equals in interface Comparator
- Overrides:
- equals in class Object
compare
public int compare(Object o1,
Object o2)
- Specified by:
- compare in interface Comparator