EmptyIterator
class EmptyIterator implements Iterator (View source)
The EmptyIterator class for an empty iterator.
Methods
TValue
current()
Return the current element
void
next()
Move forward to next element
TKey|null
key()
Return the key of the current element
bool
valid()
Checks if current position is valid
void
rewind()
Rewind the Iterator to the first element
Details
TValue
current()
Return the current element
void
next()
Move forward to next element
TKey|null
key()
Return the key of the current element
bool
valid()
Checks if current position is valid
void
rewind()
Rewind the Iterator to the first element