public class ListExpressionComparator extends Object implements Comparator
Constructor and Description |
---|
ListExpressionComparator(Query q,
Comparator userComparator,
boolean caching) |
Modifier and Type | Method and Description |
---|---|
void |
addSortItem(Expression exp,
int dir) |
int |
ci(Object o1,
Object o2) |
int |
cic(Object o1,
Object o2) |
void |
clearCache() |
int |
compare(Object o1,
Object o2) |
boolean |
equals(Object o) |
int |
getCount() |
Exception |
getException() |
List |
getSortItems() |
boolean |
isCaching() |
void |
setCaching(boolean b) |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public ListExpressionComparator(Query q, Comparator userComparator, boolean caching)
public int getCount()
public boolean equals(Object o)
equals
in interface Comparator
equals
in class Object
public boolean isCaching()
public void setCaching(boolean b)
public void clearCache()
public int compare(Object o1, Object o2)
compare
in interface Comparator
public Exception getException()
public List getSortItems()
public void addSortItem(Expression exp, int dir)