Package org.dmfs.jems2.comparator
Class Reverse<T>
java.lang.Object
org.dmfs.jems2.comparator.Reverse<T>
- All Implemented Interfaces:
Comparator<T>
A
Comparator which reverses the order of another Comparator.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
Reverse
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<T>
-