com.ihr.xbrl.util

## Class ArrayIterator<X>

- java.lang.Object
- - com.ihr.xbrl.util.ArrayIterator<X>

- Type Parameters:
    `X` - the generic type
  All Implemented Interfaces:
    java.util.Iterator<X>

      public class ArrayIterator<X>
      extends java.lang.Object
      implements java.util.Iterator<X>

  The Class ArrayIterator.
  Author:
    Ignacio

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ArrayIterator(X[] array)` Instantiates a new array iterator.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static <X> java.util.Iterator<X>` | `asIterator(X[] array)` As iterator.
    `boolean` | `hasNext()`
    `X` | `next()`
    `void` | `remove()`

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

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

- - ### Constructor Detail

    - #### ArrayIterator

          public ArrayIterator(X[] array)

      Instantiates a new array iterator.
      Parameters:
        `array` - the array

  - ### Method Detail

    - #### hasNext

          public boolean hasNext()

      Specified by:
        `hasNext` in interface `java.util.Iterator<X>`

    - #### next

          public X next()

      Specified by:
        `next` in interface `java.util.Iterator<X>`

    - #### remove

          public void remove()

      Specified by:
        `remove` in interface `java.util.Iterator<X>`

    - #### asIterator

          public static <X> java.util.Iterator<X> asIterator(X[] array)

      As iterator.
      Type Parameters:
        `X` - the generic type
      Parameters:
        `array` - the array
      Returns:
        the iterator