@NotThreadSafe public class ComparatorLocale extends AbstractPartComparatorComparable<Locale,String>
Locale objects by their String representation.| Constructor and Description |
|---|
ComparatorLocale() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getPart(Locale aLocale)
Implement this method to extract the part to compare from the original
object.
|
mainComparecompare, getNestedComparator, getSortOrder, isNullValuesComeFirst, setNestedComparator, setNullValuesComeFirst, setSortOrder, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequalsprotected String getPart(@Nonnull Locale aLocale)
AbstractPartComparatorComparablegetPart in class AbstractPartComparatorComparable<Locale,String>aLocale - The object to be compared. Never null.null.Copyright © 2014–2015 Philip Helger. All rights reserved.