// Textbook fragment 07.12 public static String toStringPostorder(Tree T, Position v) { String s = ""; for (Position w : T.children(v)) s += toStringPostorder(T, w) + " "; s += v.element(); // main visit action return s; }