public class LongLongAccumulator extends Object
long
values.Constructor and Description |
---|
LongLongAccumulator()
Creates a new instance with values equal to 0.
|
LongLongAccumulator(long value1,
long value2)
Creates a new instance with the specified value.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getValue1()
Returns the current value1.
|
long |
getValue2()
Returns the current value2.
|
int |
hashCode() |
void |
setValue1(long value1)
Sets the value1.
|
void |
setValue2(long value2)
Sets the value2.
|
String |
toString() |
public LongLongAccumulator()
public LongLongAccumulator(long value1, long value2)
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.