insert method
Insert an element
in the children list at index
Implementation
void insert(int index, IndexedNode element) {
element.parent = this;
children.insert(index, element);
}
Insert an element
in the children list at index
void insert(int index, IndexedNode element) {
element.parent = this;
children.insert(index, element);
}