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 |
---|---|
int |
addAndGet(int delta) |
byte |
byteValue() |
static int |
compare(int lhs,
int rhs) |
int |
compareTo(MutableInteger that) |
void |
decrement() |
int |
decrementAndGet() |
double |
doubleValue() |
boolean |
equals(Object o) |
float |
floatValue() |
int |
get() |
int |
getAndAdd(int delta) |
int |
getAndDecrement() |
int |
getAndIncrement() |
int |
hashCode() |
void |
increment() |
int |
incrementAndGet() |
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 void increment()
public int incrementAndGet()
public int getAndIncrement()
public void decrement()
public int decrementAndGet()
public int getAndDecrement()
public int getAndAdd(int delta)
public int addAndGet(int delta)
public int compareTo(MutableInteger that)
compareTo
in interface Comparable<MutableInteger>
public static int compare(int lhs, int rhs)
Copyright © 2014-2020 Real Logic Limited. All Rights Reserved.