All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----java.lang.Number
Number is the superclass of
classes Byte, Double, Float,
Integer, Long, and Short.
Subclasses of Number must provide methods to convert
the represented numeric value to byte, double,
float, int, long, and
short.
byte.
double.
float.
int.
long.
short.
method Number() public
method intValue() returns int public abstract
int.
This may involve rounding.
int.
method longValue() returns long public abstract
long.
This may involve rounding.
long.
method floatValue() returns float public abstract
float.
This may involve rounding.
float.
method doubleValue() returns double public abstract
double.
This may involve rounding.
double.
method byteValue() returns byte public
byte.
This may involve rounding or truncation.
byte.
method shortValue() returns short public
short.
This may involve rounding or truncation.
short.
All Packages Class Hierarchy This Package Previous Next Index