java.lang.Objectjava.lang.Number
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Byte, Long, Float, AtomicLong, Integer, AtomicInteger, BigInteger, Short, Double, BigDecimal
Number
is the superclass of classes
BigDecimal
, BigInteger
,
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
.
Lee
- BoyntonArthur
- van HoffJDK1.0
- Method from java.lang.Number Summary: |
---|
byteValue, doubleValue, floatValue, intValue, longValue, shortValue |
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from java.lang.Number Detail: |
---|
byte .
This may involve rounding or truncation. |
double .
This may involve rounding. |
float .
This may involve rounding. |
int .
This may involve rounding or truncation. |
long .
This may involve rounding or truncation. |
short .
This may involve rounding or truncation. |