Package: org.codehaus.groovy.util

## [Java] Class ArrayIterator<T>

- org.codehaus.groovy.util.ArrayIterator

- All Implemented Interfaces and Traits:
    Iterator

      public class ArrayIterator<T>
      extends Object
      implements Iterator

  Allows an array to be used where an Iterator is expected. The iterator is backed by the original array and iterated in index order.

- - ### Constructor Summary

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

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public boolean` | `hasNext()`
    `` | `public T` | `next()`
    `` | `public void` | `remove()`

  - ### Inherited Methods Summary

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

- - ### Constructor Detail

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

  - ### Method Detail

    - #### @Override
      public boolean hasNext()

    - #### @Override
      public T next()

    - #### @Override
      public void remove()