Package org.apache.tapestry5.func
Interface Reducer<A,T>
- 
- Type Parameters:
- A- type of accumulator
- T- type of collection value
 
 public interface Reducer<A,T> A reducer takes an accumulator value and a single value from a collection and computes a new accumulator value.- Since:
- 5.2.0
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description Areduce(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.
 
-