Class ZoneOffsetJavaType.ZoneOffsetComparator
- java.lang.Object
-
- org.hibernate.type.descriptor.java.ZoneOffsetJavaType.ZoneOffsetComparator
-
- All Implemented Interfaces:
Comparator<ZoneOffset>
- Enclosing class:
- ZoneOffsetJavaType
public static class ZoneOffsetJavaType.ZoneOffsetComparator extends Object implements Comparator<ZoneOffset>
-
-
Field Summary
Fields Modifier and Type Field Description static ZoneOffsetJavaType.ZoneOffsetComparator
INSTANCE
-
Constructor Summary
Constructors Constructor Description ZoneOffsetComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(ZoneOffset o1, ZoneOffset 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 ZoneOffsetJavaType.ZoneOffsetComparator INSTANCE
-
-
Method Detail
-
compare
public int compare(ZoneOffset o1, ZoneOffset o2)
- Specified by:
compare
in interfaceComparator<ZoneOffset>
-
-