Interface IOIterator<T>
-
- All Superinterfaces:
AutoCloseable,Closeable
public interface IOIterator<T> extends Closeable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()booleanhasNext()Tnext()
-
-
-
Method Detail
-
hasNext
boolean hasNext() throws IOException- Throws:
IOException
-
next
T next() throws IOException
- Throws:
IOException
-
close
void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-