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