Package: org.codehaus.groovy.util

## [Java] Class IntArrayIterator

- org.codehaus.groovy.util.IntArrayIterator

- All Implemented Interfaces and Traits:
    Iterator

      public class IntArrayIterator
      extends Object
      implements Iterator

  Allows an int array to be used where an Iterator is expected.

  Since:
    3.0.8

- - ### Constructor Summary

    Constructors
    Constructor and description
    `IntArrayIterator(int[] array)` Creates an iterator that traverses the supplied array in index order.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public boolean` | `hasNext()` {@inheritDoc}
    `` | `public Integer` | `next()` {@inheritDoc}
    `` | `public void` | `remove()` {@inheritDoc}

  - ### Inherited Methods Summary

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

- - ### Constructor Detail

    - #### public IntArrayIterator(int[] array)

      Creates an iterator that traverses the supplied array in index order.

      Parameters:
        `array` - the backing array to iterate

  - ### Method Detail

    - #### public boolean hasNext()

      {@inheritDoc}

    - #### public Integer next()

      {@inheritDoc}

    - #### public void remove()

      {@inheritDoc}