public class ValuesIterator extends java.lang.Object implements java.io.Closeable, java.util.Iterator<Value>
It allows for traversing all the elements into a Values instance.
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the ValuesIterator instance.
|
boolean |
hasNext()
Gets if there are more elements to traverse.
|
boolean |
isClosed()
Gets if ValuesIterator instance has been closed or not.
|
Value |
next()
Gets the next element to traverse.
|
void |
remove()
Operation not supported.
|
public boolean isClosed()
close()
public Value next()
next
in interface java.util.Iterator<Value>
public boolean hasNext()
hasNext
in interface java.util.Iterator<Value>
public void close()
It must be called to ensure the integrity of all data.
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
public void remove()
remove
in interface java.util.Iterator<Value>