public class MutableLong extends java.lang.Number implements java.lang.Comparable<MutableLong>, java.io.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(java.lang.Object o) |
float |
floatValue() |
long |
get() |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
void |
set(long value) |
short |
shortValue() |
java.lang.String |
toString() |
public long get()
public void set(long value)
public byte byteValue()
byteValue in class java.lang.Numberpublic short shortValue()
shortValue in class java.lang.Numberpublic int intValue()
intValue in class java.lang.Numberpublic long longValue()
longValue in class java.lang.Numberpublic float floatValue()
floatValue in class java.lang.Numberpublic double doubleValue()
doubleValue in class java.lang.Numberpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(MutableLong that)
compareTo in interface java.lang.Comparable<MutableLong>public static int compare(long lhs,
long rhs)
Copyright © 2014-2019 Real Logic Ltd. All Rights Reserved.