T - type of values returned by this Iteratorpublic interface ResourceIterator<T> extends Iterator<T>, Resource
close()
or by exhausting the iterator.ResourceIterable| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the iterator early, freeing associated resources
It is an error to use the iterator after this has been called.
|
default <R> ResourceIterator<R> |
map(Function<T,R> map) |
default Stream<T> |
stream() |
forEachRemaining, hasNext, next, removevoid close()
close in interface AutoCloseableclose in interface Resourcedefault <R> ResourceIterator<R> map(Function<T,R> map)
Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.