Serializable
, Comparator<T>
public class OrderBy<T> extends Object implements Comparator<T>, Serializable
Constructor | 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 | Description |
---|---|---|
void |
add(Closure closure) |
|
int |
compare(T object1,
T object2) |
|
boolean |
isEqualityCheck() |
|
void |
setEqualityCheck(boolean equalityCheck) |
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong