Interface DataMapper.IOIterator<T>
-
- Type Parameters:
T- the type of element
- Enclosing class:
- DataMapper
public static interface DataMapper.IOIterator<T>An iterator that can throwIOException.- Author:
- Holger Eichelberger, SSE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhasNext()Returnstrueif the iteration has more elements.Tnext()Returns the next element in the iteration.
-
-
-
Method Detail
-
hasNext
boolean hasNext() throws java.io.IOExceptionReturnstrueif the iteration has more elements.- Returns:
trueif the iteration has more elements- Throws:
java.io.IOException- if providing the next element caused an I/O problem
-
next
T next() throws java.io.IOException
Returns the next element in the iteration.- Returns:
- the next element in the iteration
- Throws:
java.util.NoSuchElementException- if the iteration has no more elementsjava.io.IOException- if checking for the next element caused an I/O problem
-
-