org.eclipse.epsilon.emc.composite
Class Tree
java.lang.Object
org.eclipse.epsilon.emc.composite.Tree
public class Tree
- extends java.lang.Object
Constructor Summary |
Tree(java.lang.String label)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Tree
public Tree(java.lang.String label)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getLabel
public java.lang.String getLabel()
setLabel
public void setLabel(java.lang.String label)
getChildren
public java.util.ArrayList<Tree> getChildren()
createChild
public Tree createChild(java.lang.String label)
getChild
public Tree getChild(java.lang.String label)
createChildren
public void createChildren(java.lang.String... children)
getAllChildren
public java.util.ArrayList<Tree> getAllChildren()