public class TextComparator extends java.lang.Object implements Comparator
Modifier and Type | Field and Description |
---|---|
static int |
LOWER_FIRST |
static int |
UPPER_FIRST |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object obj1,
java.lang.Object obj2) |
static Comparator |
create(java.util.Locale locale,
int caseOrder) |
public static final int UPPER_FIRST
public static final int LOWER_FIRST
public static Comparator create(java.util.Locale locale, int caseOrder)
public int compare(java.lang.Object obj1, java.lang.Object obj2)
compare
in interface Comparator