| Constructor | Description |
|---|---|
CloseableIterator(Iterator<E> delegate,
Closeable resource) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
boolean |
hasNext() |
|
E |
next() |
|
void |
remove() |
forEachRemainingpublic void close()
throws IOException
close in interface AutoCloseableclose in interface CloseableIOExceptionCopyright © 2019. All rights reserved.