March 2005
Intermediate to advanced
1254 pages
104h 21m
English
Number
This is an abstract class that is the
superclass of Byte, Short,
Integer, Long,
Float, and Double. It defines
the conversion functions those types implement.
Figure 10-47. java.lang.Number
public abstract class Number implements Serializable { // Public Constructors public Number( ); // Public Instance Methods 1.1 public byte byteValue( ); public abstract double doubleValue( ); public abstract float floatValue( ); public abstract int intValue( ); public abstract long longValue( ); 1.1 public short shortValue( ); }
Byte, Double,
Float, Integer,
Long, Short,
java.math.BigDecimal,
java.math.BigInteger,
java.util.concurrent.atomic.AtomicInteger,
java.util.concurrent.atomic.AtomicLong
java.text.ChoiceFormat.parse( ),
java.text.DecimalFormat.parse( ),
java.text.NumberFormat.parse( ),
javax.xml.datatype.Duration.getField( )