Interface ITreeProvider<T>

    • Method Detail

      • getRoots

        Iterator<? extends TgetRoots()
        Get the roots of the tree.
        Returns:
        roots
      • hasChildren

        boolean hasChildren​(T node)
        Does the given object have children - note that this method may return true even if getChildren(Object) returns an empty iterator.
        Parameters:
        node - the node to check for children
        Returns:
        true if node has children
      • getChildren

        Iterator<? extends TgetChildren​(T node)
        Get the children of the given node.
        Parameters:
        node - node to get children for
        Returns:
        children of node