public class OrderBy extends Object
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 | 
|---|---|---|
 | 
                            void | 
                            add(Closure closure) | 
                        
 | 
                            int | 
                            compare(T object1, T object2) | 
                        
 | 
                            boolean | 
                            isEqualityCheck() | 
                        
 | 
                            void | 
                            setEqualityCheck(boolean equalityCheck) | 
                        
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.