Class AggFromCollector.AccFromCollectorImpl
java.lang.Object
org.aksw.commons.collector.core.AggFromCollector.AccFromCollectorImpl
- All Implemented Interfaces:
Serializable, AggFromCollector.AccFromCollector<I,E, O, A>, Accumulator<I, E, O>
- Enclosing class:
AggFromCollector<I,E, O, A>
public class AggFromCollector.AccFromCollectorImpl
extends Object
implements AggFromCollector.AccFromCollector<I,E,O,A>, Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccumulate(I input, E env) Accumulate an input value w.r.t.booleangetValue()Obtain the output based on the so-far accumulated inputsinthashCode()Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Accumulator
accumulate
-
Field Details
-
accumulator
-
-
Constructor Details
-
AccFromCollectorImpl
-
-
Method Details
-
getAccumulator
- Specified by:
getAccumulatorin interfaceAggFromCollector.AccFromCollector<I,E, O, A>
-
accumulate
Description copied from interface:AccumulatorAccumulate an input value w.r.t. to an environment- Specified by:
accumulatein interfaceAccumulator<I,E, O>
-
getValue
Description copied from interface:AccumulatorObtain the output based on the so-far accumulated inputs- Specified by:
getValuein interfaceAccumulator<I,E, O>
-
hashCode
-
equals
-