class

FlatTree::Iterator

Inherits Reference < Object

Constructors

new(index : UInt64 = 0_u64, offset : UInt64 = 0_u64, factor : UInt64 = 0_u64)
Source

Instance methods

contains(i : UInt64)
Source
factor
Source
factor=(factor : UInt64)
Source
full_root(i : UInt64)
Source
index
Source
index=(index : UInt64)
Source
is_left

Is the iterator at a left sibling?

Source
is_right

Is the iterator at a right sibling?

Source
left_child

Move the iterator to the current left child index.

Source
left_span

Move the iterator to the current left span index.

Source
next

Move the iterator the next item in the tree.

Source
next_tree
Source
offset
Source
offset=(offset : UInt64)
Source
parent

Move the iterator to the current parent index

Source
prev

Move the iterator the prev item in the tree.

Source
prev_tree
Source
right_child

Move the iterator to the current right child index.

Source
right_span

Move the iterator to the current right span index.

Source
seek(i : UInt64)

Move the iterator the this specific tree index.

Source
sibling

Move the iterator to the current sibling

Source