Collection
-
class zhetapi::CollectionIterator : public zhetapi::Iterator
Iterator for the Collection primitive type.
Public Functions
-
class zhetapi::Collection : public zhetapi::Generator, public zhetapi::Indexable
Public Functions
-
virtual Iterator *next(Iterator*) override
Get the next iterator.
- Parameters
itr – the current iterator.
- Returns
the iterator ahead of the one passed, or nullptr if it was the end.
-
virtual Iterator *next(Iterator*) override