public class IteratorCloseableIteration<E,X extends Exception> extends IteratorIteration<E,X> implements CloseableIteration<E,X>
Constructor and Description |
---|
IteratorCloseableIteration(Iterator<? extends E> iter) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this iteration, freeing any resources that it is holding.
|
hasNext, next, remove
public void close() throws X extends Exception
CloseableIteration
close
in interface AutoCloseable
close
in interface CloseableIteration<E,X extends Exception>
X extends Exception
Copyright © 2015-2019 Eclipse Foundation. All Rights Reserved.