Interface Reduction.OngoingDefinitionWithReducer
- Enclosing class:
Reduction
public static interface Reduction.OngoingDefinitionWithReducer
Step 4a: Define the accumulator.
- Since:
- 2020.1.5
- Author:
- Gerrit Meier, Michael J. Simons
-
Method Summary
Modifier and TypeMethodDescriptionaccumulateOn(Expression accumulator) Return an ongoing definition.
-
Method Details
-
accumulateOn
Return an ongoing definition.- Parameters:
accumulator- a variable that will hold the result and the partial results as the list is iterated.- Returns:
- an ongoing definition
-