| |
|
| java.lang.Object java.lang.Number
Number | abstract public class Number implements java.io.Serializable(Code) | | Number is the abstract superclass of the classes which represent numeric base
types (i.e. all but Character, Boolean, and Void).
|
Constructor Summary | |
public | Number() Number constructor. |
Number | public Number()(Code) | | Number constructor. Included for spec compatability.
|
byteValue | public byte byteValue()(Code) | | Answers the byte value which the receiver represents
byte the value of the receiver. |
doubleValue | abstract public double doubleValue()(Code) | | Answers the double value which the receiver represents
double the value of the receiver. |
floatValue | abstract public float floatValue()(Code) | | Answers the float value which the receiver represents
float the value of the receiver. |
intValue | abstract public int intValue()(Code) | | Answers the int value which the receiver represents
int the value of the receiver. |
longValue | abstract public long longValue()(Code) | | Answers the long value which the receiver represents
long the value of the receiver. |
shortValue | public short shortValue()(Code) | | Answers the short value which the receiver represents
short the value of the receiver. |
|
|
|