|
||||||||||
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
public class IteratorClosureAdapter
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 |
---|
DONE, maximumNumberOfParameters, SKIP |
Constructor Summary | |
---|---|
IteratorClosureAdapter(java.lang.Object delegate)
|
Method Summary | |
---|---|
java.util.List |
asList()
|
protected java.lang.Object |
doCall(java.lang.Object argument)
|
MetaClass |
getMetaClass()
|
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, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getProperty, getThisObject, isCase, run, setDelegate, setDirective, setProperty, throwRuntimeException |
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()
getMetaClass
in interface GroovyObject
getMetaClass
in class GroovyObjectSupport
public void setMetaClass(MetaClass metaClass)
GroovyObject
setMetaClass
in interface GroovyObject
setMetaClass
in class GroovyObjectSupport
public java.util.List asList()
protected java.lang.Object doCall(java.lang.Object argument)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |