|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jcorporate.expresso.core.dbobj.ValidValue.DescriptionComparator
A simple comparator for comparing the description
attribute of ValidValue records.
| Constructor Summary | |
ValidValue.DescriptionComparator()
Creates an ascending comparator |
|
ValidValue.DescriptionComparator(boolean reverse)
Creates comparator with specified direction |
|
| Method Summary | |
int |
compare(Object o1,
Object o2)
Comparison method Compares its two arguments for order. |
boolean |
equals(Object o)
Equivalence method |
String |
toString()
Human readable string |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ValidValue.DescriptionComparator()
public ValidValue.DescriptionComparator(boolean reverse)
reverse - true if should use reverse sort order.| Method Detail |
public int compare(Object o1,
Object o2)
compare in interface Comparatoro1 - the first ValidValue objecto2 - the second ValidValue object
ClassCastException - if the arguments' types prevent
them from being compared by this Comparator.public boolean equals(Object o)
equals in interface Comparatoro - the Other object
public String toString()
|
Expresso 5-6 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||