java.lang
Class Number

java.lang.Object
  extended by java.lang.Number
Direct Known Subclasses:
Byte, Double, Float, Integer, Long, Short

public abstract class Number
extends Object

Superclass for the difference wrapper classes.

Author:
Sven Köhler

Constructor Summary
Number()
          Just a constructor doing nothing.
 
Method Summary
 byte byteValue()
          Return the byte value of this Number.
abstract  double doubleValue()
          Return the double value of this Number.
abstract  float floatValue()
          Return the float value of this Number.
abstract  int intValue()
          Return the int value of this Number.
abstract  long longValue()
          Return the long value of this Number.
 short shortValue()
          Return the short value of this Number.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Number

public Number()
Just a constructor doing nothing.

Method Detail

byteValue

public byte byteValue()
Return the byte value of this Number.

Returns:
the byte value

shortValue

public short shortValue()
Return the short value of this Number.

Returns:
the short value

intValue

public abstract int intValue()
Return the int value of this Number.

Returns:
the int value

longValue

public abstract long longValue()
Return the long value of this Number.

Returns:
the long value

floatValue

public abstract float floatValue()
Return the float value of this Number.

Returns:
the float value

doubleValue

public abstract double doubleValue()
Return the double value of this Number.

Returns:
the double value