public class Compare_en extends TextComparer
DEFAULT_CASE_ORDER, LOWERCASE_FIRST, UPPERCASE_FIRST| Constructor and Description |
|---|
Compare_en() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.lang.Object a,
java.lang.Object b)
Compare two string objects, in three phases:
(a) ignoring accents and case
(b) if still equal, ignoring case
(c) if still equal, taking case into account
|
Comparer |
setCaseOrder(int caseOrder)
Set case order
|
setDataType, setOrderpublic int compare(java.lang.Object a,
java.lang.Object b)
public Comparer setCaseOrder(int caseOrder)
TextComparersetCaseOrder 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