E - the type of elements returned by this iterator@ParametersAreNonnullByDefault public interface CloseableIterator<E> extends Iterator<E>, Closeable
Iterator that allows implementations to clean up any resources they need to keep open to iterate
over elements.| Modifier and Type | Method and Description |
|---|---|
void |
close() |
forEachRemaining, hasNext, next, removevoid close()
close in interface AutoCloseableclose in interface CloseableCopyright © 2017–2019 Atlanmod. All rights reserved.