java.lang.Object
com.aoapps.lang.i18n.LocaleComparator
- All Implemented Interfaces:
Serializable
,Comparator<Locale>
Sorts locales by language, country, then variant.
- Author:
- AO Industries, Inc.
- See Also:
-
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
-
Method Details
-
getInstance
-
compare
- Specified by:
compare
in interfaceComparator<Locale>
-