public interface CloseableIterator<T> extends Iterator<T>, Closeable
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this iterator and releases any system resources associated
with it.
|
forEachRemaining, hasNext, next, remove
void close()
close
in interface AutoCloseable
close
in interface Closeable
Copyright © 2022. All rights reserved.