E
- A generic for the type of data for iterationpublic interface CloseableIterator<E> extends Iterator<E>, Closeable
Modifier and Type | Interface and Description |
---|---|
static class |
CloseableIterator.Empty<E> |
static class |
CloseableIterator.Wrapper<E> |
Modifier and Type | Method and Description |
---|---|
void |
close() |
forEachRemaining, hasNext, next, remove
void close()
close
in interface AutoCloseable
close
in interface Closeable
Copyright © 2013–2022. All rights reserved.