Package de.aristaflow.adept2.util.i18n
Class LocaleComparator
java.lang.Object
de.aristaflow.adept2.util.i18n.LocaleComparator
- All Implemented Interfaces:
Serializable,Comparator<Locale>
A comparator that can be used to compare locales. This allows for a consistent order within a web
service call.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
LocaleComparator
public LocaleComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<Locale>
-