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, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic LocaleComparator()
public LocaleComparator(Locale locale)
Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.