| 
Groovy 1.8.4 | |||||||
| 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(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-2011 The Codehaus. All rights reserved.