Interface ITreeAccessor<TNode,​TIdentifier>

    • Method Detail

      • getChildren

        List<TNode> getChildren​(TNode node)
        Parameters:
        node - The node for which to get the children.
        Returns:
        A list of all children of the given tree node, empty array if it is a leaf node.
      • getId

        TIdentifier getId​(TNode node)
        Parameters:
        node - A node for which to retrieve its ID.
        Returns:
        The (unique) identifier of the given tree node.