public class EntityComparator<T> extends Object implements Comparator<T>
#accessorTransfomer| Constructor and Description |
|---|
EntityComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T t1,
T t2) |
org.apache.commons.collections.Transformer |
getAccessorTransformer()
Derive a
Comparable that represents a comparable option for the Entity |
boolean |
isAscending() |
void |
setAccessorTransformer(org.apache.commons.collections.Transformer accessorTransformer)
Derive a
Comparable that represents a comparable option for the Entity |
void |
setAscending(boolean ascending) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(T t1, T t2)
compare in interface Comparator<T>public boolean isAscending()
public void setAscending(boolean ascending)
public org.apache.commons.collections.Transformer getAccessorTransformer()
Comparable that represents a comparable option for the Entitypublic void setAccessorTransformer(org.apache.commons.collections.Transformer accessorTransformer)
Comparable that represents a comparable option for the EntityCopyright © 2018. All rights reserved.