java.lang.Number (JDK 1.0)
This is an abstract class that is the superclass of Byte, Short, Integer, Long, Float, and Double. It defines the conversion functions that those types all implement.
public abstract classNumberextends Object implements Serializable { //Default Constructor: public Number()//Public Instance Methods1.1public bytebyteValue(); public abstract doubledoubleValue(); public abstract floatfloatValue(); public abstract intintValue(); public abstract longlongValue(); 1.1public shortshortValue(); }
Extended By:
BigDecimal, BigInteger, Byte, Double, Float, Integer, Long, Short
Returned By:
ChoiceFormat.parse(), DecimalFormat.parse(), NumberFormat.parse()