Number
is the superclass of
classes 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
.
package java.lang; (>JDK1.0)public abstract class Number implements java.io.Serializable { // Méthodes d'instance publiques (>JDK1.1) public byte byteValue(); (>JDK1.0) public abstract double doubleValue(); (>JDK1.0) public abstract float floatValue(); (>JDK1.0) public abstract int intValue(); (>JDK1.0) public abstract long longValue(); (>JDK1.1) public short shortValue(); } |
Christophe Merlet redfox@redfoxcenter.org | ©Tous droits réservés
11 septembre 1998 |