<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Class java.lang.Number
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.lang.html">This Package</a>  <a href="java.lang.Math.html#_top_">Previous</a>  <a href="java.lang.Object.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.lang.Number
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----java.lang.Number
</pre>
<hr>
<dl>
  <dt> public abstract class <b>Number</b>
  <dt> extends <a href="java.lang.Object.html#_top_">Object</a>
  <dt> implements <a href="java.io.Serializable.html#_top_">Serializable</a>
</dl>
The abstract class <code>Number</code> is the superclass of 
 classes <code>Byte</code>, <code>Double</code>, <code>Float</code>,
 <code>Integer</code>, <code>Long</code>, and <code>Short</code>.
 <p>
 Subclasses of <code>Number</code> must provide methods to convert 
 the represented numeric value to <code>byte</code>, <code>double</code>,
 <code>float</code>, <code>int</code>, <code>long</code>, and
 <code>short</code>.
<p>
<dl>
    <dt> <b>See Also:</b>
    <dd> <a href="java.lang.Byte.html#_top_">Byte</a>, <a href="java.lang.Double.html#_top_">Double</a>, <a href="java.lang.Float.html#_top_">Float</a>, <a href="java.lang.Integer.html#_top_">Integer</a>, <a href="java.lang.Long.html#_top_">Long</a>, <a href="java.lang.Short.html#_top_">Short</a>
</dl>
<hr>
<a name="index"></a>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#Number()"><b>Number</b></a>()
  <dd> 
</dl>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#byteValue()"><b>byteValue</b></a>()
  <dd>  Returns the value of the specified number as a <code>byte</code>.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#doubleValue()"><b>doubleValue</b></a>()
  <dd>  Returns the value of the specified number as a <code>double</code>.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#floatValue()"><b>floatValue</b></a>()
  <dd>  Returns the value of the specified number as a <code>float</code>.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#intValue()"><b>intValue</b></a>()
  <dd>  Returns the value of the specified number as an <code>int</code>.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#longValue()"><b>longValue</b></a>()
  <dd>  Returns the value of the specified number as a <code>long</code>.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#shortValue()"><b>shortValue</b></a>()
  <dd>  Returns the value of the specified number as a <code>short</code>.
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="Number"></a>
<a name="Number()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>Number</b>
<pre>
 public Number()
</pre>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="intValue()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="intValue"><b>intValue</b></a>
<pre>
 public abstract int intValue()
</pre>
<dl>
  <dd> Returns the value of the specified number as an <code>int</code>.
 This may involve rounding.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the numeric value represented by this object after conversion
          to type <code>int</code>.
  </dl></dd>
</dl>
<a name="longValue()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="longValue"><b>longValue</b></a>
<pre>
 public abstract long longValue()
</pre>
<dl>
  <dd> Returns the value of the specified number as a <code>long</code>.
 This may involve rounding.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the numeric value represented by this object after conversion
          to type <code>long</code>.
  </dl></dd>
</dl>
<a name="floatValue()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="floatValue"><b>floatValue</b></a>
<pre>
 public abstract float floatValue()
</pre>
<dl>
  <dd> Returns the value of the specified number as a <code>float</code>.
 This may involve rounding.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the numeric value represented by this object after conversion
          to type <code>float</code>.
  </dl></dd>
</dl>
<a name="doubleValue()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="doubleValue"><b>doubleValue</b></a>
<pre>
 public abstract double doubleValue()
</pre>
<dl>
  <dd> Returns the value of the specified number as a <code>double</code>.
 This may involve rounding.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the numeric value represented by this object after conversion
          to type <code>double</code>.
  </dl></dd>
</dl>
<a name="byteValue()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="byteValue"><b>byteValue</b></a>
<pre>
 public byte byteValue()
</pre>
<dl>
  <dd> Returns the value of the specified number as a <code>byte</code>.
 This may involve rounding or truncation.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the numeric value represented by this object after conversion
          to type <code>byte</code>.
  </dl></dd>
</dl>
<a name="shortValue()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="shortValue"><b>shortValue</b></a>
<pre>
 public short shortValue()
</pre>
<dl>
  <dd> Returns the value of the specified number as a <code>short</code>.
 This may involve rounding or truncation.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the numeric value represented by this object after conversion
          to type <code>short</code>.
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.lang.html">This Package</a>  <a href="java.lang.Math.html#_top_">Previous</a>  <a href="java.lang.Object.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
