public class OrderBy<T> extends Object implements Comparator<T>, Serializable
Constructor and Description |
---|
OrderBy() |
OrderBy(boolean equalityCheck) |
OrderBy(Closure closure) |
OrderBy(Closure closure,
boolean equalityCheck) |
OrderBy(List<Closure> closures) |
OrderBy(List<Closure> closures,
boolean equalityCheck) |
Modifier and Type | Method and Description |
---|---|
void |
add(Closure closure) |
int |
compare(T object1,
T object2) |
boolean |
isEqualityCheck() |
void |
setEqualityCheck(boolean equalityCheck) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong