Class TreeNode<T>


  • public class TreeNode<T>
    extends Object
    A tree node implementation.
    • Constructor Detail

      • TreeNode

        public TreeNode​(String id)
      • TreeNode

        public TreeNode​(String id,
                        T content)
    • Method Detail

      • getAbsolutePath

        public String getAbsolutePath()
      • getId

        public String getId()
      • getContent

        public T getContent()
      • setContent

        public void setContent​(T content)
      • setParent

        public void setParent​(TreeNode<T> parent)
      • addChild

        public void addChild​(TreeNode<T> child)
      • removeChild

        public boolean removeChild​(TreeNode<T> child)
      • getChildren

        public TreeNode<T>[] getChildren()