Class Iterator
- Description
Wrapper for iterators that implements the 8.0 and earlier iterator API. This class doubles as the interface for old-style iterators.
The symbols required to be implemented in this API are:
Check whether the iterator points to a valid item.
Get the current iterator index.
Get the current iterator value.
Advance the iterator. One of them may be omitted. next() is preferred by
foreach()
.
- Deprecated
Replaced by Iterator.
- See also
- Method
create
Iterator Iterator(
Iterator
it
)- Description
Initialize this iterator to wrap the Iterator in it
The iterator initially points to the first item in the data set, if there is any.
- Note
This differs from the Iterator API, where the iterator is initialized to point before the first element.