|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.appfuse.webapp.taglib.CountryTag.LabelValueComparator
public class CountryTag.LabelValueComparator
Class to compare LabelValues using their labels with locale-sensitive behaviour.
| Constructor Summary | |
|---|---|
CountryTag.LabelValueComparator(java.util.Locale locale)
Creates a new LabelValueComparator object. |
|
| Method Summary | |
|---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compares the localized labels of two LabelValues. |
| 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 CountryTag.LabelValueComparator(java.util.Locale locale)
locale - The Locale used for localized String comparison.| Method Detail |
|---|
public final int compare(java.lang.Object o1,
java.lang.Object o2)
compare in interface java.util.Comparatoro1 - The first LabelValue to compare.o2 - The second LabelValue to compare.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||