Class AggNatural<I,E,C extends Collection<I>>

java.lang.Object
org.aksw.commons.collector.core.AggNatural<I,E,C>
Type Parameters:
I -
C -
All Implemented Interfaces:
Serializable, Aggregator<I,E,C>, ParallelAggregator<I,E,C,Accumulator<I,E,C>>

public class AggNatural<I,E,C extends Collection<I>> extends Object implements ParallelAggregator<I,E,C,Accumulator<I,E,C>>, Serializable
Wrapper for a supplier of accumulators with signature I -> Collection<I> This means, that items from the collection can be used as input. This allows for 'natural' combination of accumulators by adding the items of one accumulator to the other. Note that this is operation always works for accumulators of that signature, yet whether it is semantically meaningful depends on the application context.
Author:
raven
See Also: