@Deprecated
public interface IOIterator<T>
extends java.io.Closeable
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Deprecated.
Returns
true if the iteration has more elements. |
T |
next()
Deprecated.
Returns the next element in the iteration.
|
boolean hasNext() throws java.io.IOException
true
if the iteration has more elements.
(In other words, returns true
if next()
would
return an element rather than throwing an exception.)true
if the iteration has more elementsjava.io.IOException
- on read errorT next() throws java.io.IOException
java.io.IOException
- on read errorjava.util.NoSuchElementException
- if the iteration has no more elements