public class LexicalComparator extends Object implements Comparator<Object>
| Modifier and Type | Field and Description |
|---|---|
static LexicalComparator |
CASE_INSENSITIVE |
static LexicalComparator |
CASE_SENSITIVE |
protected Collator |
collator |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object obj1,
Object obj2) |
clone, 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 static final LexicalComparator CASE_SENSITIVE
public static final LexicalComparator CASE_INSENSITIVE
protected Collator collator
public int compare(Object obj1, Object obj2)
compare in interface Comparator<Object>