envzn
0.8 · beta · not released

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 boolean
reads
MODIFY METHOD next() RETURNS | REFERENCE K
modifies
METHOD peek() RETURNS | REFERENCE K
reads
MODIFY METHOD skip(uint64 n) RETURNS | REFERENCE K
modifies