Library / Collections / Dictionaries / RedBlackTreeDictionaryIterator
CLASSIMPLEMENTS ReferenceIterator<K>
RedBlackTreeDictionaryIterator
Forward, in-order key iterator for RedBlackTreeDictionary (ARENA form). Yields keys in Comparable order (the tree's natural order), each as a non-owning REFERENCE into the live arena.
Constructors 1
INIT(REFERENCE RBNode[K, V][] arena, int64 root, int64 count)
Methods 4
METHOD hasNext() RETURNS booleanreads
MODIFY METHOD next() RETURNS | REFERENCE Kmodifies
METHOD peek() RETURNS | REFERENCE Kreads
MODIFY METHOD skip(uint64 n) RETURNS | REFERENCE Kmodifies