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.
![](http://87.249.105.167/mirror/javainanutshell/0596007736/images/0596007736/figs/java.lang.Number.gif;389354)
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( );
}
Subclasses
Byte, Double,
Float, Integer,
Long, Short,
java.math.BigDecimal,
java.math.BigInteger,
java.util.concurrent.atomic.AtomicInteger,
java.util.concurrent.atomic.AtomicLong
Returned By
java.text.ChoiceFormat.parse( ),
java.text.DecimalFormat.parse( ),
java.text.NumberFormat.parse( ),
javax.xml.datatype.Duration.getField( )
![](http://87.249.105.167/mirror/javainanutshell/0596007736/images/pixel.gif) |