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 |
---|---|
byte |
byteValue() |
static int |
compare(long lhs,
long rhs) |
int |
compareTo(MutableLong that) |
double |
doubleValue() |
boolean |
equals(Object o) |
float |
floatValue() |
long |
get() |
int |
hashCode() |
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 Number
public float floatValue()
floatValue
in class Number
public double doubleValue()
doubleValue
in class Number
public int compareTo(MutableLong that)
compareTo
in interface Comparable<MutableLong>
public static int compare(long lhs, long rhs)
Copyright © 2014-2019 Real Logic Ltd. All Rights Reserved.