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, wait
forEachRemaining
public CloseableIterationIterator(Iteration<? extends E,? extends RuntimeException> iteration)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.