|
APTCONVERT 1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.pixware.util.QuickSort.StringCompare
public static class QuickSort.StringCompare
The class of String comparators. Comparison is implemented using String.compareTo(java.lang.String)
which compares two strings
lexicographically.
Constructor Summary | |
---|---|
QuickSort.StringCompare()
|
Method Summary | |
---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compares two objects o1 and o2 . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuickSort.StringCompare()
Method Detail |
---|
public int compare(java.lang.Object o1, java.lang.Object o2)
QuickSort.Compare
o1
and o2
.
compare
in interface QuickSort.Compare
o1
- the object to be compared to o2
o2
- the object to be compared to o1
o1
is less than, equal to, or greater than
o2
|
APTCONVERT 1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |