public class StringComparer extends TextComparer
DEFAULT_CASE_ORDER, LOWERCASE_FIRST, UPPERCASE_FIRST| Constructor and Description |
|---|
StringComparer() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.lang.Object a,
java.lang.Object b)
Compare two string objects using default collating
|
Comparer |
setCaseOrder(int caseOrder)
Set case order
|
setDataType, setOrderpublic int compare(java.lang.Object a,
java.lang.Object b)
public Comparer setCaseOrder(int caseOrder)
setCaseOrder in class TextComparercaseOrder - one of DEFAULT_CASE_ORDER, LOWERCASE_FIRST, or UPPERCASE_FIRST.
Indicates whether upper case letters precede or follow lower case letters in the ordering