Class TreeNode<D>

java.lang.Object
qilin.util.graph.TreeNode<D>

public class TreeNode<D> extends Object
  • Constructor Details

    • TreeNode

      public TreeNode(D e)
  • Method Details

    • getElem

      public D getElem()
    • getParent

      public TreeNode<D> getParent()
    • isLeaf

      public boolean isLeaf()
    • isRoot

      public boolean isRoot()
    • setParent

      public void setParent(TreeNode<D> parent)
    • getChildren

      public Set<TreeNode<D>> getChildren()
    • addChild

      public boolean addChild(TreeNode<D> child)