Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns true if the iteration has more elements.
|
T |
next()
Returns the next element in the iteration.
|
boolean hasNext()
NoSuchElementException
.)T next() throws StoreAccessException
java.util.NoSuchElementException
- iteration has no more elements.StoreAccessException
- if accessing the next element failed