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:
Iterable<E>

public class ArrayIterable<E> extends Object implements Iterable<E>
An ArrayIterable provides an Iterable for an array of objects of type E.
See Also:
  • Constructor Details

    • 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.
  • Method Details