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