Package org.codehaus.groovy.util
Class ArrayIterable<T>
java.lang.Object
org.codehaus.groovy.util.ArrayIterable<T>
- All Implemented Interfaces:
- java.lang.Iterable<T>
public class ArrayIterable<T>
extends java.lang.Object
implements java.lang.Iterable<T>
Allow an array to be used where an Iterable is expected.
- Since:
- 3.0.8
- 
Constructor SummaryConstructors Constructor Description ArrayIterable(T[] array)
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.IterableforEach, spliterator
- 
Constructor Details- 
ArrayIterable
 
- 
- 
Method Details- 
iterator- Specified by:
- iteratorin interface- java.lang.Iterable<T>
 
 
-