public class MutableLong extends Number implements Comparable<MutableLong>, Serializable
Map or for passing by
reference.| Modifier and Type | Field and Description |
|---|---|
long |
value |
| Constructor and Description |
|---|
MutableLong() |
MutableLong(long value) |
| Modifier and Type | Method and Description |
|---|---|
long |
addAndGet(long delta) |
byte |
byteValue() |
static int |
compare(long lhs,
long rhs) |
int |
compareTo(MutableLong that) |
void |
decrement() |
long |
decrementAndGet() |
double |
doubleValue() |
boolean |
equals(Object o) |
float |
floatValue() |
long |
get() |
long |
getAndAdd(long delta) |
long |
getAndDecrement() |
long |
getAndIncrement() |
int |
hashCode() |
void |
increment() |
long |
incrementAndGet() |
int |
intValue() |
long |
longValue() |
void |
set(long value) |
short |
shortValue() |
String |
toString() |
public long get()
public void set(long value)
public short shortValue()
shortValue in class Numberpublic float floatValue()
floatValue in class Numberpublic double doubleValue()
doubleValue in class Numberpublic void increment()
public long incrementAndGet()
public long getAndIncrement()
public void decrement()
public long decrementAndGet()
public long getAndDecrement()
public long getAndAdd(long delta)
public long addAndGet(long delta)
public int compareTo(MutableLong that)
compareTo in interface Comparable<MutableLong>public static int compare(long lhs,
long rhs)
Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.