Package: org.codehaus.groovy.util

## [Java] Class ArrayIterable<T>

- org.codehaus.groovy.util.ArrayIterable

- All Implemented Interfaces and Traits:
    Iterable

      public class ArrayIterable<T>
      extends Object
      implements Iterable

  Allow an array to be used where an Iterable is expected.

  Since:
    3.0.8

- - ### Constructor Summary

    Constructors
    Constructor and description
    `ArrayIterable(T[] array)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public Iterator<T>` | `iterator()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### public ArrayIterable(T[] array)

  - ### Method Detail

    - #### @Override
      public Iterator<T> iterator()