Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BottomUpTreeIterator

Unlike other tree iterators, this does not visit all the nodes, it stops once it reaches the root node while traversing up the tree hierarchy in an inverse pre-order fashion. This is the counterpart of the TopDownTreeIterator.

Hierarchy

Index

Constructors

Properties

delegate: IterableIterator<TreeNode>
root: TreeNode

Methods

  • [iterator](): IterableIterator<TreeNode>
  • isEmpty(nodes: undefined | TreeNode[]): boolean