public class LocaleComparator extends CollatorComparator
DEFAULT_LOCALE_COMPARATOR, m_collator| Constructor and Description |
|---|
LocaleComparator()
Default constructor uses the current locale's collator.
|
LocaleComparator(java.util.Locale locale)
use a specific locale's collator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setLocale(java.util.Locale locale)
Specify a new locale.
|
compare, setCollatorpublic LocaleComparator()
public LocaleComparator(java.util.Locale locale)
public void setLocale(java.util.Locale locale)
locale - the locale for future comparisonsCopyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.