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

- - ### Constructor Detail

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

  - ### Method Detail

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

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

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