- Type Parameters:
T - Type of the elements in this Iterable
- All Implemented Interfaces:
Iterable<T>
Iterable wrapper for arrays
Does not work with arrays of primitive types such as int, float, etc.
- Author:
- René Bergelt
-
Constructor Summary
Constructors
Create a new iterable wrapper 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
(T[] array)
Create a new iterable wrapper for the given array
- Parameters:
array - The array to wrap
-