Class ArrayIterable<T>

java.lang.Object
edu.uky.cs.nil.sabre.util.ArrayIterable<T>
Type Parameters:
T - the component type of the array
All Implemented Interfaces:
Iterable<T>

public class ArrayIterable<T> extends Object implements Iterable<T>
An iterable wrapper for an array of objects.
Author:
Stephen G. Ware
  • Constructor Details

    • ArrayIterable

      @SafeVarargs public ArrayIterable(T... array)
      Constructs a new array iterable.
      Parameters:
      array - the array to make iterable
  • Method Details