Team LiB
Previous Section Next Section


Java 1.0serializable

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

Returned By

java.text.ChoiceFormat.parse( ), java.text.DecimalFormat.parse( ), java.text.NumberFormat.parse( ), javax.xml.datatype.Duration.getField( )

    Team LiB
    Previous Section Next Section