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 values. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | add1(long amount)Adds the supplied amount to the first value. | 
| void | add2(long amount)Adds the supplied amount to the second value. | 
| boolean | equals(Object o) | 
| long | get1()Returns the first value. | 
| long | get2()Returns the second value. | 
| int | hashCode() | 
| void | set1(long value1)Sets the first value. | 
| void | set2(long value2)Sets the second value. | 
| String | toString() | 
public LongLongAccumulator()
public LongLongAccumulator(long value1,
                           long value2)
public long get1()
public void set1(long value1)
public long get2()
public void set2(long value2)
public void add1(long amount)
public void add2(long amount)
Copyright © 2021 Hazelcast, Inc.. All rights reserved.