public final class ElComparatorProperty<T> extends Object implements Comparator<T>, ElComparator<T>
| Constructor and Description |
|---|
ElComparatorProperty(ElPropertyValue elGetValue,
boolean ascending,
boolean nullsHigh) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T o1,
T o2)
Compare given 2 beans.
|
int |
compareValue(Object value,
T o2)
Compare with a fixed value to a given bean.
|
int |
compareValues(Object val1,
Object val2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequalspublic ElComparatorProperty(ElPropertyValue elGetValue, boolean ascending, boolean nullsHigh)
public int compare(T o1, T o2)
ElComparatorcompare in interface ElComparator<T>compare in interface Comparator<T>public int compareValue(Object value, T o2)
ElComparatorcompareValue in interface ElComparator<T>Copyright © 2014. All Rights Reserved.