T - public interface CloseableIterator<T> extends Iterator<T>, Closeable
CloseableIterator serves as a bridging data structure for the underlying data store specific results that
can be wrapped in a Java 8 Stream. This 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 © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.