E
- the type of elements returned by the iterable's iteratorpublic class ArrayIterable<E> extends Object implements Iterable<E>
ArrayIterator
,
ArrayListIterable
Constructor and Description |
---|
ArrayIterable(E... array)
Construct an iterable for the specified array.
|
ArrayIterable(E[] array,
int start)
Construct an iterable for the specified array,
starting at the specified start index and continuing for
the rest of the array.
|
ArrayIterable(E[] array,
int start,
int length)
Construct an iterable for the specified array,
starting at the specified start index and continuing for
the specified length.
|
public ArrayIterable(E... array)
public ArrayIterable(E[] array, int start)
public ArrayIterable(E[] array, int start, int length)