T - type of aggregated valuesV - type of the aggregatepublic interface Aggregator<T,V>
putValue(Object) is called multiple times with different values of
Type T. Implementing classes do internally aggregate those
values. Upon call of getAndReset(), the aggregated value of type
V is returned and the internal state is reset, so that a new
aggregation can start.| Modifier and Type | Method and Description |
|---|---|
V |
getAndReset() |
void |
putValue(T value) |