|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.townleyenterprises.common.PropertyProxy com.townleyenterprises.filter.PropertySorter
This class sorts Comparable objects and orders them based on the specified SortSpecifications.
Constructor Summary | |
PropertySorter(java.lang.Class klass,
SortSpecification[] spec)
The constructor specifies the class of the objects to be sorted and the collation specifications to be used. |
Method Summary | |
int |
compare(java.lang.Object rhs,
java.lang.Object lhs)
|
Methods inherited from class com.townleyenterprises.common.PropertyProxy |
getPropertyValue, getSubjectClass |
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 PropertySorter(java.lang.Class klass, SortSpecification[] spec)
klass
- the class of the objects to be sortedspec
- the sort specificationMethod Detail |
public int compare(java.lang.Object rhs, java.lang.Object lhs)
compare
in interface java.util.Comparator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |