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, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public 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>