insert


Description:

public unowned Node<G> insert (int position, owned Node<G> node)

Inserts a Node beneath the parent at the given position.

Parameters:

this

the Node to place node under

position

the position to place node at, with respect to its siblings If position is -1, node is inserted as the last child of this

node

the Node to insert

Returns:

the inserted Node