|
Bali Share 1.1.18 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.bali.share.sort.StringComparator
This class implements a Comparator for Strings. It uses the java.text.Collator class to perform the string comparisons.
Comparator
,
Collator
Constructor Summary | |
StringComparator(java.text.Collator collator)
Create the StringComparator using the given Collator. |
Method Summary | |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Implement the Comparator interface by calling through to the Collators compare interface. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StringComparator(java.text.Collator collator)
Method Detail |
public int compare(java.lang.Object o1, java.lang.Object o2)
compare
in interface Comparator
|
Bali Share 1.1.18 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |