com.ihr.xbrl.util

## Class JoinedIterator<E>

- java.lang.Object
- - com.ihr.xbrl.util.JoinedIterator<E>

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

      public class JoinedIterator<E>
      extends java.lang.Object
      implements java.util.Iterator<E>

  Joins two iterators in one iterator that will cycle the first iterator and when finished this will continue with the second iterator.
  Author:
    Ignacio

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JoinedIterator(java.util.Iterator<? extends E> iter1, java.util.Iterator<? extends E> iter2)` Instantiates a new joined iterator.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `hasNext()`
    `E` | `next()`
    `void` | `remove()`

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

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

- - ### Constructor Detail

    - #### JoinedIterator

          public JoinedIterator(java.util.Iterator<? extends E> iter1,
                        java.util.Iterator<? extends E> iter2)

      Instantiates a new joined iterator.
      Parameters:
        `iter1` - the iter1
        `iter2` - the iter2

  - ### Method Detail

    - #### hasNext

          public boolean hasNext()

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

    - #### next

          public E next()

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

    - #### remove

          public void remove()

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