Package org.aksw.commons.collector.core
Class AggCounting.AccCounting
java.lang.Object
org.aksw.commons.collector.core.AggCounting.AccCounting
- All Implemented Interfaces:
Serializable,Accumulator<I,E, Long>
- Enclosing class:
- AggCounting<I,
E>
- See Also:
-
Field Details
-
count
protected long count
-
-
Constructor Details
-
AccCounting
public AccCounting(long count)
-
-
Method Details
-
accumulate
Description copied from interface:AccumulatorAccumulate an input value w.r.t. to an environment- Specified by:
accumulatein interfaceAccumulator<I,E, Long>
-
getValue
Description copied from interface:AccumulatorObtain the output based on the so-far accumulated inputs- Specified by:
getValuein interfaceAccumulator<I,E, Long>
-
hashCode
public int hashCode() -
equals
-