Interface Reduction.OngoingDefinitionWithInitial

  • Enclosing class:
    Reduction

    public static interface Reduction.OngoingDefinitionWithInitial
    Step 4b: Define the initial value
    • Method Detail

      • withInitialValueOf

        FunctionInvocation withInitialValueOf​(Expression initialValue)
        Parameters:
        initialValue - An expression that runs once to give a starting value to the accumulator.
        Returns:
        An ongoing definition