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, setCollator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public LocaleComparator()
public LocaleComparator(Locale locale)
Copyright © 2001-2018 The Apache Software Foundation. All rights reserved.