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, wait
equals
public CountryTag.LabelValueComparator(Locale locale)
locale
- The Locale used for localized String comparison.public final int compare(Object o1, Object o2)
compare
in interface Comparator
o1
- The first LabelValue to compare.o2
- The second LabelValue to compare.Copyright © 2015. All rights reserved.