Class ValuesIterator
java.lang.Object
com.sparsity.sparksee.gdb.ValuesIterator
- All Implemented Interfaces:
Closeable, AutoCloseable, Iterator<Value>
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes the ValuesIterator instance.booleanhasNext()Gets if there are more elements to traverse.booleanisClosed()Gets if ValuesIterator instance has been closed or not.next()Gets the next element to traverse.voidremove()Operation not supported.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Method Details
-
isClosed
public boolean isClosed()Gets if ValuesIterator instance has been closed or not.- Returns:
- TRUE if the ValuesIterator instance has been closed, FALSE otherwise.
- See Also:
-
next
-
hasNext
-
close
public void close()Closes the ValuesIterator instance.It must be called to ensure the integrity of all data.
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
remove
-