Interface TreeNode

All Superinterfaces:
TreeNodeInfo
All Known Implementing Classes:
BaseTemplateTreeNode

public interface TreeNode
extends TreeNodeInfo
  • Method Details

    • getParent

      TreeNode getParent()
      Specified by:
      getParent in interface TreeNodeInfo
    • getDepth

      default int getDepth()
    • getPath

      default java.util.List<TreeNode> getPath()
    • isDescendantOf

      default boolean isDescendantOf​(TreeNode potentialAncestor)
    • isDescendantOf

      default boolean isDescendantOf​(java.util.Collection<? extends TreeNode> potentialAncestors)
    • getPathToNode

      static java.util.List<TreeNode> getPathToNode​(TreeNode node)