Package org.apache.batchee.extras.buffered

## Class IteratorReader<E>

- java.lang.Object
- - org.apache.batchee.extras.buffered.IteratorReader<E>

- Type Parameters:
    `E` - the expected Iterator item type.

      public class IteratorReader<E>
      extends Object

  A shortcut class to use an Iterator as delegation in a reader. Allow to not mandate the inheritance with BufferedItemReader.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `IteratorReader​(Iterator<E> delegate)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `E` | `read()` |

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

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

- - ### Constructor Detail

    - #### IteratorReader

          public IteratorReader​(Iterator<E> delegate)

  - ### Method Detail

    - #### read

          public E read()