ImmutableTreeNode

constructor(value: T, children: PersistentList<ImmutableTreeNode<T>> = persistentListOf())(source)

Parameters

value

the value stored in this node.

children

the ordered, persistent list of child subtrees.