Package net.sf.basedb.util
Class ComparableComparator<T extends Comparable<T>>
java.lang.Object
net.sf.basedb.util.ComparableComparator<T>
- All Implemented Interfaces:
Comparator<T>
A comparator implemenation for any Comparable objects.
- Since:
- 2.17
- Author:
- Nicklas
- Last modified
- $Date: 2011-02-16 14:49:40 +0100 (on, 16 feb 2011) $
-
Constructor Summary
-
Method Summary
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
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
ComparableComparator
public ComparableComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<T extends Comparable<T>>
-