Interface RebuildableNode<T extends Node>

  • Type Parameters:
    T - instance type of the given Node
    All Superinterfaces:
    Node

    public interface RebuildableNode<T extends Node>
    extends Node
    This interface represents an Node which can be rebuilt from a context.
    • Method Detail

      • rebuildWithNewChildren

        T rebuildWithNewChildren​(RebuildingContext context)
        This method rebuild the node whit the new context.
        Parameters:
        context - the RebuildingContext with which to rebuild the node
        Returns:
        the new node rebuilt with the children(s) took from the context.