Package com.hazelcast.jet.accumulator
Class LongDoubleAccumulator
java.lang.Object
com.hazelcast.jet.accumulator.LongDoubleAccumulator
Mutable container of a
long
and a double
value.- Since:
- Jet 3.0
-
Constructor Summary
ConstructorDescriptionCreates a new instance with values equal to 0.LongDoubleAccumulator
(long longValue, double doubleValue) Creates a new instance with the specified values. -
Method Summary
-
Constructor Details
-
LongDoubleAccumulator
public LongDoubleAccumulator()Creates a new instance with values equal to 0. -
LongDoubleAccumulator
public LongDoubleAccumulator(long longValue, double doubleValue) Creates a new instance with the specified values.
-
-
Method Details
-
getLong
public long getLong()Returns thelong
value. -
setLong
public void setLong(long value1) Sets thelong
value. -
getDouble
public double getDouble()Returns thedouble
value. -
setDouble
public void setDouble(double value2) Sets thedouble
value. -
equals
-
hashCode
public int hashCode() -
toString
-