
public class LocaleComparator extends CollatorComparator
DEFAULT_LOCALE_COMPARATOR, m_collator| Constructor and Description |
|---|
LocaleComparator()
Default constructor uses the current locale's collator.
|
LocaleComparator(Locale locale)
use a specific locale's collator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setLocale(Locale locale)
Specify a new locale.
|
compare, setCollatorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic LocaleComparator()
public LocaleComparator(Locale locale)
public void setLocale(Locale locale)
locale - the locale for future comparisonsCopyright © 2001-2018 The Apache Software Foundation. All rights reserved.