Uses of Class
com.hazelcast.jet.accumulator.DoubleAccumulator
Package | Description |
---|---|
com.hazelcast.jet.accumulator |
Classes intended to be used for accumulator objects in an
AggregateOperation . |
com.hazelcast.jet.aggregate |
Contains
AggregateOperation and its several variants, as well
as a builder object for the aggregate operations. |
-
Uses of DoubleAccumulator in com.hazelcast.jet.accumulator
Methods in com.hazelcast.jet.accumulator that return DoubleAccumulator Modifier and Type Method Description DoubleAccumulator
DoubleAccumulator. accumulate(double v)
Adds the value to this objects' value.DoubleAccumulator
DoubleAccumulator. combine(DoubleAccumulator that)
Adds the value of the supplied accumulator to this one.DoubleAccumulator
DoubleAccumulator. deduct(DoubleAccumulator that)
Subtracts the value of the supplied accumulator from this one.DoubleAccumulator
DoubleAccumulator. set(double value)
Sets the value as given.Methods in com.hazelcast.jet.accumulator with parameters of type DoubleAccumulator Modifier and Type Method Description DoubleAccumulator
DoubleAccumulator. combine(DoubleAccumulator that)
Adds the value of the supplied accumulator to this one.DoubleAccumulator
DoubleAccumulator. deduct(DoubleAccumulator that)
Subtracts the value of the supplied accumulator from this one. -
Uses of DoubleAccumulator in com.hazelcast.jet.aggregate
Methods in com.hazelcast.jet.aggregate that return types with arguments of type DoubleAccumulator Modifier and Type Method Description static <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.