|
Groovy 1.7.9 | |||||||
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(T object1, T object2)
|
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(T object1, T object2)
Copyright © 2003-2010 The Codehaus. All rights reserved.