public class OrderBy<T> extends Object implements Comparator, Serializable
A helper class for sorting objects via a closure to return the field or operation on which to sort.
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
add(Closure closure) |
|
public int |
compare(T object1, T object2) |
|
public boolean |
isEqualityCheck() |
|
public void |
setEqualityCheck(boolean equalityCheck) |
Copyright © 2003-2022 The Apache Software Foundation. All rights reserved.