| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgroovy.lang.GroovyObjectSupport
groovy.lang.Closure
org.codehaus.groovy.runtime.IteratorClosureAdapter<T>
public class IteratorClosureAdapter<T>
A closure which stores calls in a List so that method calls can be iterated over in a 'yield' style way
| Field Summary | 
|---|
| Fields inherited from class groovy.lang.Closure | 
|---|
DELEGATE_FIRST, DELEGATE_ONLY, DONE, IDENTITY, maximumNumberOfParameters, OWNER_FIRST, OWNER_ONLY, parameterTypes, SKIP, TO_SELF | 
| Constructor Summary | |
|---|---|
IteratorClosureAdapter(java.lang.Object delegate)
 | 
|
| Method Summary | |
|---|---|
 java.util.List<T> | 
asList()
 | 
protected  java.lang.Object | 
doCall(T argument)
 | 
 MetaClass | 
getMetaClass()
Returns the metaclass for a given class.  | 
 void | 
setMetaClass(MetaClass metaClass)
Allows the MetaClass to be replaced with a derived implementation.  | 
| Methods inherited from class groovy.lang.Closure | 
|---|
asWritable, call, call, call, clone, curry, curry, dehydrate, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getProperty, getResolveStrategy, getThisObject, isCase, leftShift, leftShift, memoize, memoizeAtLeast, memoizeAtMost, memoizeBetween, ncurry, ncurry, rcurry, rcurry, rehydrate, rightShift, run, setDelegate, setDirective, setProperty, setResolveStrategy, throwRuntimeException, trampoline, trampoline | 
| Methods inherited from class groovy.lang.GroovyObjectSupport | 
|---|
invokeMethod | 
| Methods inherited from class java.lang.Object | 
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public IteratorClosureAdapter(java.lang.Object delegate)
| Method Detail | 
|---|
public MetaClass getMetaClass()
GroovyObject
getMetaClass in interface GroovyObjectgetMetaClass in class GroovyObjectSupportpublic void setMetaClass(MetaClass metaClass)
GroovyObject
setMetaClass in interface GroovyObjectsetMetaClass in class GroovyObjectSupportmetaClass - the new metaclasspublic java.util.List<T> asList()
protected java.lang.Object doCall(T argument)
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||