public static String newickNoLengths(Tree tree){
  StringBuffer buffer=new StringBuffer();
  newick(tree,tree.getRoot(),true,BranchLengthType.NO_BRANCH_LENGTHS,null,null,null,null,buffer);
  buffer.append(";");
  return buffer.toString();
}

public static String newickNoLengths ( Tree tree ) { StringBuffer buffer = new StringBuffer ( ) ; newick ( tree , tree . getRoot ( ) , true , BranchLengthType . NO_BRANCH_LENGTHS , null , null , null , null , buffer ) ; buffer . append ( ";" ) ; return buffer . toString ( ) ; }
recursive function for constructing a newick tree representation in the given buffer .
