|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.memberwebs.ldapxml.helpers.LXComparator
Used to sort XML elements according to a specified sort order
| Constructor Summary | |
LXComparator(java.lang.String[] attrs,
boolean[] directions)
Construct a new LXComparator |
|
| Method Summary | |
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compare two objects and return -1, 0 or 1 |
boolean |
equals(java.lang.Object obj)
Check whether another comparator is equal to this one. |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LXComparator(java.lang.String[] attrs,
boolean[] directions)
attrs - The element or attribute names to sort bydirections - The sort direction for each attr| Method Detail |
public int compare(java.lang.Object o1,
java.lang.Object o2)
compare in interface java.util.Comparatoro1 - The first objecto2 - The second objectpublic boolean equals(java.lang.Object obj)
equals in interface java.util.Comparatorobj - The other comparator
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||