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