Class IncomparableComparator
- java.lang.Object
-
- org.hibernate.type.descriptor.java.IncomparableComparator
-
- All Implemented Interfaces:
Comparator
public class IncomparableComparator extends Object implements Comparator
Comparator for things that cannot be compared (in a way we know about).
-
-
Field Summary
Fields Modifier and Type Field Description static IncomparableComparator
INSTANCE
-
Constructor Summary
Constructors Constructor Description IncomparableComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Object o1, Object o2)
-
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
-
-
-
-
Field Detail
-
INSTANCE
public static final IncomparableComparator INSTANCE
-
-
Method Detail
-
compare
public int compare(Object o1, Object o2)
- Specified by:
compare
in interfaceComparator
-
-