Compare_en
, StringComparer
public abstract class TextComparer extends Comparer
Modifier and Type | Field | Description |
---|---|---|
static int |
DEFAULT_CASE_ORDER |
|
static int |
LOWERCASE_FIRST |
|
static int |
UPPERCASE_FIRST |
Constructor | Description |
---|---|
TextComparer() |
Modifier and Type | Method | Description |
---|---|---|
Comparer |
setCaseOrder(int caseOrder) |
Set case order
|
compare, setDataType, setOrder
public static final int DEFAULT_CASE_ORDER
public static final int LOWERCASE_FIRST
public static final int UPPERCASE_FIRST
public Comparer setCaseOrder(int caseOrder)
caseOrder
- one of DEFAULT_CASE_ORDER, LOWERCASE_FIRST, or UPPERCASE_FIRST.
Indicates whether upper case letters precede or follow lower case letters in the ordering