- Type Parameters:
T - the type of comparable objects that may be compared by this comparator
- All Implemented Interfaces:
public class ComparableComparator<T extends Comparable<T>>
Comparator that adapts Comparables to the Comparator interface.
Mainly for internal use in other Comparators, when supposed
to work on Comparables.
- Keith Donald
- See Also:
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong