Package org.codehaus.groovy.util

## Class IntArrayIterable

- java.lang.Object
- - org.codehaus.groovy.util.IntArrayIterable

- All Implemented Interfaces:
    `Iterable<Integer>`

      public class IntArrayIterable
      extends Object
      implements Iterable<Integer>

  Allow an int array to be used where an Iterable is expected.
  Since:
    3.0.8

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `IntArrayIterable​(int[] array)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Iterator<Integer>` | `iterator()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, spliterator`

- - ### Constructor Detail

    - #### IntArrayIterable

          public IntArrayIterable​(int[] array)

  - ### Method Detail

    - #### iterator

          public Iterator<Integer> iterator()

      Specified by:
        `iterator` in interface `Iterable<Integer>`