public static Tree rotateByName(Tree tree){
  return new SimpleTree(rotateNodeByName(tree,tree.getRoot()));
}

public static Tree rotateByName ( Tree tree ) { return new SimpleTree ( rotateNodeByName ( tree , tree . getRoot ( ) ) ) ; }
recursive function for constructing a newick tree representation in the given buffer .
