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

  Allows 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` | `wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll`

- - ### Constructor Detail

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

  - ### Method Detail

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