org.codehaus.groovy.runtime
[Java] Class IteratorClosureAdapter
java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Closure
org.codehaus.groovy.runtime.IteratorClosureAdapter
public class IteratorClosureAdapter
extends Closure
A closure which stores calls in a List so that method calls
can be iterated over in a 'yield' style way
- Authors:
- James Strachan
- Version:
- \$Revision\$
Methods inherited from class 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 |
IteratorClosureAdapter
public IteratorClosureAdapter(Object delegate)
-
asList
public List asList()
-
doCall
protected Object doCall(Object argument)
-
getMetaClass
public MetaClass getMetaClass()
-
setMetaClass
public void setMetaClass(MetaClass metaClass)
-
Copyright © 2003-2013 The Codehaus. All rights reserved.