public void addChildren ( List < ? extends Tree > kids ) { for ( int i = 0 ; i < kids . size ( ) ; i ++ ) { Tree t = kids . get ( i ) ; addChild ( t ) ; } }
Add all elements of kids list as children of this node