|
Groovy 1.7.11 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovy.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(T object1, T 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(T object1, T object2)
Copyright © 2003-2010 The Codehaus. All rights reserved.