Package groovy.util
Class OrderBy<T>
- java.lang.Object
 - 
- groovy.util.OrderBy<T>
 
 
- 
- All Implemented Interfaces:
 Serializable,Comparator<T>
public class OrderBy<T> extends Object implements Comparator<T>, Serializable
A helper class for sorting objects via a closure to return the field or operation on which to sort.- See Also:
 - Serialized Form
 
 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(Closure closure)intcompare(T object1, T object2)booleanisEqualityCheck()voidsetEqualityCheck(boolean equalityCheck)- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong 
 - 
 
 -