InternalIterator
final class InternalIterator implements Iterator (View source)
Methods
mixed
current()
Return the current element
void
next()
Move forward to next element
mixed
key()
Return the key of the current element
bool
valid()
Check if current position is valid
void
rewind()
Rewind the Iterator to the first element
Details
mixed
current()
Return the current element
Returns the current element.
void
next()
Move forward to next element
Moves the current position to the next element.
mixed
key()
Return the key of the current element
Returns the key of the current element.
bool
valid()
Check if current position is valid
Checks if current position is valid.
void
rewind()
Rewind the Iterator to the first element
Rewinds back to the first element of the Iterator.