View Single Post
  #2 (permalink)  
Old 12-03-2007, 11:20 PM
hardwired hardwired is offline
Senior Member
 
Join Date: Jul 2007
Posts: 1,222
hardwired is on a distinguished road
Code:
public String getPreOrderSort() { String s = ""; s += name + " "; if(left != null) s += left.getPreOrderSort() + " "; if(right != null) s += right.getPreOrderSort() + " "; return s; }
Reply With Quote