TreeFormatter { public abstract <V> String format( final Tree<V, ?> tree, final Function<? super V, ? extends CharSequence> mapper ); protected  TreeFormatter(); abstract String format(
		final Tree<V, ?> tree,
		final Function<? super V, ? extends CharSequence> mapper
	); String format(final Tree<?, ?> tree); static TreeFormatter dot(final String treeName); static final TreeFormatter TREE; static final TreeFormatter PARENTHESES; static final TreeFormatter LISP; static final TreeFormatter DOT; }
@Test public void toTreeString() { System.out.println(TreeFormatter.TREE.format(TREE)); }
@Test public void toParenthesesString() { System.out.println(TreeFormatter.PARENTHESES.format(TREE)); }
@Test public void toLispString() { System.out.println(TreeFormatter.LISP.format(TREE)); }