|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.compoze.util.SortableArrayComparator
This class is a comparator that can order SortableArray objects.
| Constructor Summary | |
SortableArrayComparator(int index)
Constructor |
|
SortableArrayComparator(int index,
boolean bOrderAsc)
Constructor |
|
| Method Summary | |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compares its two arguments for order. |
| 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 SortableArrayComparator(int index)
index - index to compare by
public SortableArrayComparator(int index,
boolean bOrderAsc)
index - index to compare bybOrderAsc - if true, order ascending| Method Detail |
public int compare(java.lang.Object o1,
java.lang.Object o2)
compare in interface java.util.Comparatoro1 - the first object to compareo2 - the second object to compareComparator
|
Compoze Software, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||