|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.i18n.CmsLocaleComparator
public final class CmsLocaleComparator
Simple comparator implementation for locales, that compares the String value of the locales.
| Method Summary | |
|---|---|
int |
compare(java.util.Locale o1,
java.util.Locale o2)
|
static java.util.Comparator<java.util.Locale> |
getComparator()
Returns a static instance of the locale comparator. |
| 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 |
| Method Detail |
|---|
public static java.util.Comparator<java.util.Locale> getComparator()
public int compare(java.util.Locale o1,
java.util.Locale o2)
compare in interface java.util.Comparator<java.util.Locale>Comparator.compare(java.lang.Object, java.lang.Object)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||