public class CloseableIterationIterator<E> extends Object implements Iterator<E>, Closeable
| Constructor and Description |
|---|
CloseableIterationIterator(Iteration<? extends E,? extends RuntimeException> iteration) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
E |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic CloseableIterationIterator(Iteration<? extends E,? extends RuntimeException> iteration)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.