Class Tree

    • Constructor Detail

      • Tree

        public Tree​(List<TreeNode> treeNodes)
        Constructor declaration
        Parameters:
        treeNodes -
    • Method Detail

      • getTree

        public List<TreeNode> getTree()
        Method declaration
        Returns:
      • setTree

        public void setTree​(List<TreeNode> treeNodes)
        Method declaration
        Parameters:
        treeNodes -
      • getDepth

        public int getDepth()
        Method declaration
        Returns:
      • getRoot

        public TreeNode getRoot()
        Method declaration
        Returns:
      • toString

        public String toString()
        Method declaration
        Overrides:
        toString in class Object
        Returns: