T
- type of values returned by this Iteratorpublic interface ResourceIterator<T> extends Iterator<T>, Closeable
Iterator.hasNext()
returns false
),
ResourceIterator
provides you with a close()
method that should be invoked to free its
resources, by using a finally
-block, or try-with-resource.ResourceIterable
,
Transaction
void close()
close
in interface AutoCloseable
close
in interface Closeable
Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.