E
- the type of elements returned by the iterable's iteratorpublic class ArrayIterable<E> extends Object implements Iterable<E>
ArrayIterator
,
ArrayListIterableConstructor 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.
|
Modifier and Type | Method and Description |
---|---|
Iterator<E> |
iterator() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public ArrayIterable(E... array)
public ArrayIterable(E[] array, int start)
public ArrayIterable(E[] array, int start, int length)
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.