|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Reducer<A,T>
A reducer takes an accumulator value and a single value from a collection and computes a new
accumulator value.
type of accumulator
Method Summary | |
---|---|
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. |
Method Detail |
---|
A reduce(A accumulator, T element)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |