protected static class OwStandardObjectCollection.OwObjectCollectionComparator extends Object implements Comparator
Constructor and Description |
---|
OwStandardObjectCollection.OwObjectCollectionComparator(OwSort.OwSortCriteria sortCriteria_p)
construct a List comparator with the sort criteria
|
Modifier and Type | Method and Description |
---|---|
int |
compare(Object o1_p,
Object o2_p)
Compares its two arguments for order.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
equals
public OwStandardObjectCollection.OwObjectCollectionComparator(OwSort.OwSortCriteria sortCriteria_p)
sortCriteria_p
- OwSort object with a list of criteriapublic int compare(Object o1_p, Object o2_p)
compare
in interface Comparator
o1_p
- the first object to be compared.o2_p
- the second object to be comparedCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.