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