API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.lang. Number View Source
Author(s)
Lee Boynton
Arthur van Hoff
Since
JDK1.0
Version
1.30, 11/17/05
Serial
Hierarchy
 Object
      Number
Implements
 Serializable
Subclasses
Description
publicabstract abstract class Number
  The abstract class Number is the superclass of classes BigDecimal, BigInteger, Byte, Double, Float, Integer, Long, and Short.
See also:    Byte Double Float Integer Long Short
Constructors
public Number ()
Methods
Hide/Show inherited methods
public byte byteValue ()
  Returns the value of the specified number as a byte.
publicabstract double doubleValue ()
  Returns the value of the specified number as a double.
publicabstract float floatValue ()
  Returns the value of the specified number as a float.
publicabstract int intValue ()
  Returns the value of the specified number as an int.
publicabstract long longValue ()
  Returns the value of the specified number as a long.
public short shortValue ()
  Returns the value of the specified number as a short.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar