| 
Groovy 1.8.5 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgroovy.util.OrderBy
public class OrderBy extends Object
A helper class for sorting objects via a closure to return the field or operation on which to sort.
| Constructor Summary | |
            OrderBy()
             | 
        |
            OrderBy(Closure closure)
             | 
        |
            OrderBy(List closures)
             | 
        |
| Method Summary | |
|---|---|
            void
         | 
        
            add(Closure closure)
             | 
        
            int
         | 
        
            compare(Object object1, Object object2)
             | 
        
            boolean
         | 
        
            isEqualityCheck()
             | 
        
            void
         | 
        
            setEqualityCheck(boolean equalityCheck)
             | 
        
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll | 
| Constructor Detail | 
|---|
public OrderBy()
public OrderBy(Closure closure)
public OrderBy(List closures)
| Method Detail | 
|---|
public void add(Closure closure)
public int compare(Object object1, Object object2)
public boolean isEqualityCheck()
public void setEqualityCheck(boolean equalityCheck)
Copyright © 2003-2011 The Codehaus. All rights reserved.