org.stringtree.util.tree
Class Trees
java.lang.Object
org.stringtree.util.tree.Trees
public class Trees
- extends java.lang.Object
Constructor Summary |
Trees()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EMPTY_TREE
public static final Tree EMPTY_TREE
Trees
public Trees()
getRoot
public static Tree getRoot(Tree tree)
equals
public static boolean equals(Tree t1,
Tree t2)
indent
public static void indent(java.io.Writer out,
int level)
throws java.io.IOException
- Throws:
java.io.IOException
dump
public static void dump(Tree t,
java.io.Writer out,
int level)
throws java.io.IOException
- Throws:
java.io.IOException
dump
public static void dump(Tree t,
java.io.Writer out)
throws java.io.IOException
- Throws:
java.io.IOException
dump
public static void dump(Tree t,
java.io.OutputStream out)
adopt
public static void adopt(MutableTree parent,
MutableTree child)