|
qflib 0.99 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.qfs.lib.util.CollateComparator
Standard comparison interface for Strings using a Collator for the current default locale.
Constructor Summary | |
CollateComparator()
Create a new CollateComparator using the default Collator for the current Locale. |
|
CollateComparator(java.text.Collator coll)
Create a new CollateComparator. |
Method Summary | |
int |
compare(java.lang.Object A,
java.lang.Object B)
Compare two Objects, using their String representation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
equals |
Constructor Detail |
public CollateComparator()
public CollateComparator(java.text.Collator coll)
coll
- The Collator to use for comparisons.Method Detail |
public int compare(java.lang.Object A, java.lang.Object B)
compare
in interface java.util.Comparator
A
- The first object.B
- The second object.
|
qflib 0.99 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |