|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Number
Number is an abstract superclass for numeric scalar types. Integer, Long, Float and Double are subclasses of Number that bind to a particular numeric representation.
Integer
,
Long
,
Float
,
Double
Constructor Summary | |
Number()
|
Method Summary | |
abstract double |
doubleValue()
Returns the value of the number as a double. |
abstract float |
floatValue()
Returns the value of the number as a float. |
abstract int |
intValue()
Returns the value of the number as an int. |
abstract long |
longValue()
Returns the value of the number as a long. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Number()
Method Detail |
public abstract int intValue()
public abstract long longValue()
public abstract float floatValue()
public abstract double doubleValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |