Class 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 Detail

      • IteratorReader

        public IteratorReader​(Iterator<E> delegate)
    • Method Detail

      • read

        public E read()