Interface DataMapper.IOIterator<T>

Type Parameters:
T - the type of element
Enclosing class:
DataMapper

public static interface DataMapper.IOIterator<T>
An iterator that can throw IOException.
Author:
Holger Eichelberger, SSE
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if the iteration has more elements.
    Returns the next element in the iteration.
  • Method Details

    • hasNext

      boolean hasNext() throws IOException
      Returns true if the iteration has more elements.
      Returns:
      true if the iteration has more elements
      Throws:
      IOException - if providing the next element caused an I/O problem
    • next

      T next() throws IOException
      Returns the next element in the iteration.
      Returns:
      the next element in the iteration
      Throws:
      NoSuchElementException - if the iteration has no more elements
      IOException - if checking for the next element caused an I/O problem