public class MutableInteger extends Number implements Comparable<MutableInteger>, Serializable
Map
or for passing by
reference.Modifier and Type | Field and Description |
---|---|
int |
value |
Constructor and Description |
---|
MutableInteger() |
MutableInteger(int value) |
Modifier and Type | Method and Description |
---|---|
byte |
byteValue() |
static int |
compare(int lhs,
int rhs) |
int |
compareTo(MutableInteger that) |
double |
doubleValue() |
boolean |
equals(Object o) |
float |
floatValue() |
int |
get() |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
void |
set(int value) |
short |
shortValue() |
String |
toString() |
public MutableInteger()
public MutableInteger(int value)
public int get()
public void set(int 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(MutableInteger that)
compareTo
in interface Comparable<MutableInteger>
public static int compare(int lhs, int rhs)
Copyright © 2014-2019 Real Logic Ltd. All Rights Reserved.