Class IteratorClosureAdapter<T>

java.lang.Object
groovy.lang.GroovyObjectSupport
groovy.lang.Closure
org.codehaus.groovy.runtime.IteratorClosureAdapter<T>
All Implemented Interfaces:
GroovyCallable, GroovyObject, java.io.Serializable, java.lang.Cloneable, java.lang.Runnable, java.util.concurrent.Callable

public class IteratorClosureAdapter<T>
extends Closure
A closure which stores calls in a List so that method calls can be iterated over in a 'yield' style way
See Also:
Serialized Form
  • Constructor Details

    • IteratorClosureAdapter

      public IteratorClosureAdapter​(java.lang.Object delegate)
  • Method Details