|
|||||
| FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||
A helper class for sorting objects via a closure to return the field or operation on which to sort.
| Field Summary | |
|---|---|
List |
closures
|
| Constructor Summary | |
OrderBy()
|
|
OrderBy(Closure closure)
|
|
OrderBy(List closures)
|
|
| Method Summary | |
|---|---|
void |
add(Closure closure)
|
int |
compare(Object object1, Object object2)
|
| 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)