|
JAPI 0_6-alpha-2 Yet another Java API API Documentation |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.japi.swing.LocaleComparator
public final class LocaleComparator
Implementation of Comparator that is able to compare Locale instances by their names (allowing null).
The Locale for sorting the Locales is determined at creation time.
| Constructor Summary | |
|---|---|
LocaleComparator()
Create a LocaleComparator. |
|
| Method Summary | |
|---|---|
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 |
| Constructor Detail |
|---|
public LocaleComparator()
| Method Detail |
|---|
public int compare(Locale o1,
Locale o2)
compare in interface Comparator<Locale>
|
JAPI Yet another Java API API Documentation |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||