public class CountryTag.LabelValueComparator extends Object implements Comparator
| Constructor and Description |
|---|
CountryTag.LabelValueComparator(Locale locale)
Creates a new LabelValueComparator object.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object o1,
Object o2)
Compares the localized labels of two LabelValues.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic CountryTag.LabelValueComparator(Locale locale)
locale - The Locale used for localized String comparison.public final int compare(Object o1, Object o2)
compare in interface Comparatoro1 - The first LabelValue to compare.o2 - The second LabelValue to compare.Copyright © 2003-2012. All Rights Reserved.