public class MutableNumber extends Number
| Modifier and Type | Field and Description |
|---|---|
double |
doubleValue |
int |
intValue |
long |
longValue |
| Constructor and Description |
|---|
MutableNumber() |
| Modifier and Type | Method and Description |
|---|---|
void |
copyFrom(Number source) |
double |
doubleValue() |
boolean |
equals(Object obj) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
void |
set(double value) |
void |
set(int value) |
void |
set(long value) |
void |
set(Number number) |
void |
setByteValue(byte byteValue) |
void |
setCharValue(char charValue) |
void |
setDoubleValue(double doubleValue) |
void |
setfloatValue(float floatValue) |
void |
setIntValue(int intValue) |
void |
setLongValue(long longValue) |
void |
setShortValue(short shortValue) |
String |
toString() |
byteValue, shortValuepublic int intValue
public long longValue
public double doubleValue
public float floatValue()
floatValue in class Numberpublic double doubleValue()
doubleValue in class Numberpublic void set(Number number)
public void set(int value)
public void set(long value)
public void set(double value)
public void setCharValue(char charValue)
public void setByteValue(byte byteValue)
public void setShortValue(short shortValue)
public void setIntValue(int intValue)
public void setLongValue(long longValue)
public void setfloatValue(float floatValue)
public void setDoubleValue(double doubleValue)
public void copyFrom(Number source)
Copyright © 2019. All rights reserved.