public void addChild(Node... nodes){
  for (  Node node : nodes) {
    node.detachFromParent();
    node.parentNode=this;
    initChildNodes(node);
    childNodes.add(node);
  }
  reindexChildrenOnAdd(nodes.length);
}

public void addChild ( Node ... nodes ) { for ( Node node : nodes ) { node . detachFromParent ( ) ; node . parentNode = this ; initChildNodes ( node ) ; childNodes . add ( node ) ; } reindexChildrenOnAdd ( nodes . length ) ; }
appends several child nodes at once . reindex is done only once , after all children are added .
