V
- value typepublic interface Reducer<V>
Reducer
interface for combining two values of the same type into a new value.Modifier and Type | Method and Description |
---|---|
V |
apply(V value1,
V value2)
Aggregate the two given values into a single one.
|