|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.icl.saxon.sort.Comparer
com.icl.saxon.sort.TextComparer
com.icl.saxon.sort.StringComparer
public class StringComparer
A Comparer used for comparing keys. This comparer uses the binary Unicode value of the characters.
| Field Summary |
|---|
| Fields inherited from class com.icl.saxon.sort.TextComparer |
|---|
DEFAULT_CASE_ORDER, LOWERCASE_FIRST, UPPERCASE_FIRST |
| Constructor Summary | |
|---|---|
StringComparer()
|
|
| Method Summary | |
|---|---|
int |
compare(java.lang.Object a,
java.lang.Object b)
Compare two string objects using default collating |
Comparer |
setCaseOrder(int caseOrder)
Set case order |
| Methods inherited from class com.icl.saxon.sort.Comparer |
|---|
setDataType, setOrder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StringComparer()
| Method Detail |
|---|
public int compare(java.lang.Object a,
java.lang.Object b)
compare in class Comparerjava.lang.ClassCastException - if the objects are of the wrong type for this Comparerpublic 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||