@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, 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-2022 Eclipse Foundation. All Rights Reserved.