Class ArrayIterable<E>
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.utility.iterable.ArrayIterable<E>
-
- Type Parameters:
E
- the type of elements returned by the iterable's iterator
- All Implemented Interfaces:
java.lang.Iterable<E>
public class ArrayIterable<E> extends java.lang.Object implements java.lang.Iterable<E>
AnArrayIterable
provides anIterable
for an array of objects of typeE
.- See Also:
ArrayIterator
, ArrayListIterable
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<E>
iterator()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ArrayIterable
public ArrayIterable(E... array)
Construct an iterable for the specified array.
-
ArrayIterable
public 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
public 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.
-
-