- Type Parameters:
E - the kind of element in the array
- All Implemented Interfaces:
Iterable<E>
An object that allows an array to be treated as
Iterable.
- Author:
- Stephen G. Ware
-
Constructor Summary
Constructors
Constructs a new iterable for the given array.
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ArrayIterable
public ArrayIterable(E[] array)
Constructs a new iterable for the given array.
- Parameters:
array - the array
-