public interface Accumulating<T,G,A,U>
Modifier and Type | Method and Description |
---|---|
void |
accumulate(A accumulator,
T item) |
U |
accumulatedValue(A accumulator) |
G |
classify(T item) |
A |
createAccumulator(G groupKey) |
static <T> Accumulating |
identity()
Identity accumulator - turns each item into a group that contains only the item and whose value is the item
|
static <T> Accumulating identity()
T
- Copyright © 2016–2021 Smart Data Analytics (SDA) Research Group. All rights reserved.