public interface Reducer<A,T>
Modifier and Type | Method and Description |
---|---|
A |
reduce(A accumulator,
T element)
Run a computation using the current value of the accumulator and an element (from a Flow),
and return the new accumulator.
|
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.