at.tuwien.ifs.somtoolbox.util
Class InverseComparator<T extends Comparable<T>>
java.lang.Object
at.tuwien.ifs.somtoolbox.util.InverseComparator<T>
- Type Parameters:
T
- the type of objects that may be compared by this comparator
- All Implemented Interfaces:
- Comparator<T>
public class InverseComparator<T extends Comparable<T>>
- extends Object
- implements Comparator<T>
- Version:
- $Id: InverseComparator.java 3883 2010-11-02 17:13:23Z frank $
- Author:
- Rudolf Mayer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InverseComparator
public InverseComparator()
compare
public int compare(T o1,
T o2)
- Specified by:
compare
in interface Comparator<T extends Comparable<T>>