Uses of Class
com.hazelcast.jet.accumulator.DoubleAccumulator
Package
Description
Classes intended to be used for accumulator objects in an
AggregateOperation
.Contains
AggregateOperation
and its several variants, as well
as a builder object for the aggregate operations.-
Uses of DoubleAccumulator in com.hazelcast.jet.accumulator
Modifier and TypeMethodDescriptionDoubleAccumulator.accumulate
(double v) Adds the value to this objects' value.DoubleAccumulator.combine
(DoubleAccumulator that) Adds the value of the supplied accumulator to this one.DoubleAccumulator.deduct
(DoubleAccumulator that) Subtracts the value of the supplied accumulator from this one.DoubleAccumulator.set
(double value) Sets the value as given.Modifier and TypeMethodDescriptionDoubleAccumulator.combine
(DoubleAccumulator that) Adds the value of the supplied accumulator to this one.DoubleAccumulator.deduct
(DoubleAccumulator that) Subtracts the value of the supplied accumulator from this one. -
Uses of DoubleAccumulator in com.hazelcast.jet.aggregate
Modifier and TypeMethodDescriptionstatic <T> AggregateOperation1<T,
DoubleAccumulator, Double> AggregateOperations.summingDouble
(ToDoubleFunctionEx<? super T> getDoubleValueFn) Returns an aggregate operation that computes the sum of thedouble
values it obtains by applyinggetDoubleValueFn
to each item.