public final class ComparatorLocaleLanguage extends AbstractCollationComparator<Locale>
Comparator to sort Locale objects by their system
language.| Constructor and Description |
|---|
ComparatorLocaleLanguage(Locale aSortLocale) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
asString(Locale aLocale)
Abstract method that needs to be overridden to convert an object to a
string representation for comparison.
|
mainCompare, toStringcompare, getSortOrder, setSortOrderclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequalsprotected String asString(@Nonnull Locale aLocale)
AbstractCollationComparatorasString in class AbstractCollationComparator<Locale>aLocale - The object to be converted. May not be null depending
on the elements to be sorted.null.Copyright © 2006–2015 phloc systems. All rights reserved.