Class ImmutableTreeNode<T extends TreeNode<T>>

    • Constructor Detail

      • ImmutableTreeNode

        public ImmutableTreeNode()
      • ImmutableTreeNode

        public ImmutableTreeNode​(List<T> children)
    • Method Detail

      • getParent

        public T getParent()
        Description copied from interface: TreeNode
        Returns the parent node or null if this node is the root.
        Specified by:
        getParent in interface TreeNode<T extends TreeNode<T>>
        Returns:
        the parent node
      • acquireChildren

        protected void acquireChildren()