|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
Common interface for all numeric types
| Method Summary | |
boolean |
booleanValue()
Returns the value of the specified number as a boolean. |
byte |
byteValue()
Returns the value of the specified number as a byte. |
double |
doubleValue()
Returns the value of the specified number as a double. |
float |
floatValue()
Returns the value of the specified number as a float. |
int |
intValue()
Returns the value of the specified number as an int. |
long |
longValue()
Returns the value of the specified number as a long. |
short |
shortValue()
Returns the value of the specified number as a short. |
| Method Detail |
public long longValue()
long.
This may involve rounding or truncation.
long.public int intValue()
int.
This may involve rounding or truncation.
int.public short shortValue()
short.
This may involve rounding or truncation.
short.public byte byteValue()
byte.
This may involve rounding or truncation.
byte.public boolean booleanValue()
boolean.
This may involve rounding or truncation.
boolean.public float floatValue()
float.
This may involve rounding.
float.public double doubleValue()
double.
This may involve rounding.
double.
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||