public static class AbstractSelectToolbarActionChip.EntryComparator
extends java.lang.Object
implements java.util.Comparator, java.io.Serializable
Entry instances using the value of
AbstractSelectToolbarActionChip.Entry.getDisplayName(). Null values are handled special. They
are always greater than any other non-null value.| Modifier | Constructor and Description |
|---|---|
protected |
EntryComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.lang.Object entry1,
java.lang.Object entry2) |
java.text.Collator |
getCollator()
Returns a collator for the current Language/Locale which is used to assure correct sorting (taking umlauts and
other locale specifics into account)
|
static AbstractSelectToolbarActionChip.EntryComparator |
getInstance() |
public static AbstractSelectToolbarActionChip.EntryComparator getInstance()
EntryComparator instance.public int compare(java.lang.Object entry1,
java.lang.Object entry2)
compare in interface java.util.Comparatorpublic java.text.Collator getCollator()
Copyright © 2017 SAP SE. All Rights Reserved.