TreeNodeBuilding extension

Fluent construction and inspection of chain families.

on

Properties

chainIds → List<int>

Available on TreeNode, provided by the TreeNodeBuilding extension

Every chain id in this subtree, parents first.
no setter

Methods

find(int id) → TreeNode?

Available on TreeNode, provided by the TreeNodeBuilding extension

The node with id in this subtree, or null.
withChild(TreeNode child) → TreeNode

Available on TreeNode, provided by the TreeNodeBuilding extension

A copy with child appended to children.