public class IteratorClosureAdapter extends Closure
DELEGATE_FIRST, DELEGATE_ONLY, DONE, maximumNumberOfParameters, OWNER_FIRST, OWNER_ONLY, SKIP, TO_SELF
Constructor and Description |
---|
IteratorClosureAdapter(java.lang.Object delegate) |
Modifier and Type | Method and Description |
---|---|
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
|
asWritable, call, call, call, clone, curry, getDelegate, getDirective, getMaximumNumberOfParameters, getOwner, getParameterTypes, getProperty, getResolveStrategy, getThisObject, isCase, run, setDelegate, setDirective, setProperty, setResolveStrategy, throwRuntimeException
invokeMethod
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)