public class ClosureComparator<T>
extends java.lang.Object
implements java.util.Comparator<T>, java.io.Serializable
| Constructor and Description |
|---|
ClosureComparator(Closure closure) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T object1,
T object2) |