Interface TreeNode

    • Method Detail

      • 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

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