Class DeltaIterationBase.WorksetPlaceHolder<WT>

  • All Implemented Interfaces:
    Visitable<Operator<?>>
    Enclosing class:
    DeltaIterationBase<ST,​WT>

    public static class DeltaIterationBase.WorksetPlaceHolder<WT>
    extends Operator<WT>
    Specialized operator to use as a recognizable place-holder for the working set input to the step function.
    • Method Detail

      • getContainingWorksetIteration

        public DeltaIterationBase<?,​WT> getContainingWorksetIteration()
      • accept

        public void accept​(Visitor<Operator<?>> visitor)
        Description copied from interface: Visitable
        Contains the logic to invoke the visitor and continue the traversal. Typically invokes the pre-visit method of the visitor, then sends the visitor to the children (or predecessors) and then invokes the post-visit method.

        A typical code example is the following:

        
         public void accept(Visitor<Operator> visitor) {
             boolean descend = visitor.preVisit(this);
             if (descend) {
                 if (this.input != null) {
                     this.input.accept(visitor);
                 }
                 visitor.postVisit(this);
             }
         }
         
        Parameters:
        visitor - The visitor to be called with this object as the parameter.
        See Also:
        Visitor.preVisit(Visitable), Visitor.postVisit(Visitable)
      • getUserCodeWrapper

        public UserCodeWrapper<?> getUserCodeWrapper()
        Description copied from class: Operator
        Gets the user code wrapper. In the case of a pact, that object will be the stub with the user function, in the case of an input or output format, it will be the format object.
        Overrides:
        getUserCodeWrapper in class Operator<WT>
        Returns:
        The class with the user code.