|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object groovy.util.ClosureComparator
public class ClosureComparator extends Object
A Comparator which uses a closure to compare 2 values being equal
Constructor Summary | |
ClosureComparator(Closure closure)
|
Method Summary | |
---|---|
int
|
compare(Object object1, Object object2)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail |
---|
public ClosureComparator(Closure closure)
Method Detail |
---|
public int compare(Object object1, Object object2)
Copyright © 2003-2013 The Codehaus. All rights reserved.