org.hibernate.util
Class ComparableComparator
java.lang.Object
org.hibernate.util.ComparableComparator
- All Implemented Interfaces:
- Comparator
public class ComparableComparator
- extends Object
- implements Comparator
Delegates to Comparable
- Author:
- Gavin King
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final Comparator INSTANCE
ComparableComparator
public ComparableComparator()
compare
public int compare(Object x,
Object y)
- Specified by:
compare
in interface Comparator