Package org.aksw.jenax.arq.aggregation
Class AggCollection<T,E,COLLECTION,ITEM>
java.lang.Object
org.aksw.jenax.arq.aggregation.AggCollection<T,E,COLLECTION,ITEM>
- All Implemented Interfaces:
org.aksw.commons.collector.domain.Aggregator<T,E, COLLECTION>
public class AggCollection<T,E,COLLECTION,ITEM>
extends Object
implements org.aksw.commons.collector.domain.Aggregator<T,E,COLLECTION>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BiConsumer<? super COLLECTION,? super ITEM> protected Supplier<COLLECTION> -
Constructor Summary
ConstructorsConstructorDescriptionAggCollection(Supplier<COLLECTION> collector, Function<T, ? extends ITEM> bindingToItem, BiConsumer<? super COLLECTION, ? super ITEM> addToCollection) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.commons.collector.domain.Aggregator
accumulateAll, accumulateAll, accumulateAll, finish
-
Field Details
-
collectionSupplier
-
bindingToItem
-
addToCollection
-
-
Constructor Details
-
AggCollection
public AggCollection(Supplier<COLLECTION> collector, Function<T, ? extends ITEM> bindingToItem, BiConsumer<? super COLLECTION, ? super ITEM> addToCollection)
-
-
Method Details
-
createAccumulator
- Specified by:
createAccumulatorin interfaceorg.aksw.commons.collector.domain.Aggregator<T,E, COLLECTION>
-