<!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.Byte
</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.Boolean.html#_top_">Previous</a>  <a href="java.lang.Character.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.lang.Byte
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----<a href="java.lang.Number.html#_top_">java.lang.Number</a>
           |
           +----java.lang.Byte
</pre>
<hr>
<dl>
  <dt> public final class <b>Byte</b>
  <dt> extends <a href="java.lang.Number.html#_top_">Number</a>
</dl>
The Byte class is the standard wrapper for byte values.
<p>
<dl>
    <dt> <b>See Also:</b>
    <dd> <a href="java.lang.Number.html#_top_">Number</a>
</dl>
<hr>
<a name="index"></a>
<h2>
  <img src="images/variable-index.gif" width=207 height=38 alt="Variable Index">
</h2>
<dl>
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#MAX_VALUE"><b>MAX_VALUE</b></a>
  <dd>  The maximum value a Byte can have.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#MIN_VALUE"><b>MIN_VALUE</b></a>
  <dd>  The minimum value a Byte can have.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#TYPE"><b>TYPE</b></a>
  <dd>  The Class object representing the primitive type byte.
</dl>
<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="#Byte(byte)"><b>Byte</b></a>(byte)
  <dd>  Constructs a Byte object initialized to the specified byte value.
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#Byte(java.lang.String)"><b>Byte</b></a>(String)
  <dd>  Constructs a Byte object initialized to the value specified by the
 String parameter.
</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 this Byte as a byte.
  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#decode(java.lang.String)"><b>decode</b></a>(String)
  <dd>  Decodes a String into a Byte.
  <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 this Byte as a double.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#equals(java.lang.Object)"><b>equals</b></a>(Object)
  <dd>  Compares this object to the specified object.
  <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 this Byte as a float.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#hashCode()"><b>hashCode</b></a>()
  <dd>  Returns a hashcode for this Byte.
  <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 this Byte as an int.
  <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 this Byte as a long.
  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#parseByte(java.lang.String)"><b>parseByte</b></a>(String)
  <dd>  Assuming the specified String represents a byte, returns
 that byte's value.
  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#parseByte(java.lang.String, int)"><b>parseByte</b></a>(String, int)
  <dd>  Assuming the specified String represents a byte, returns
 that byte's value.
  <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 this Byte as a short.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#toString()"><b>toString</b></a>()
  <dd>  Returns a String object representing this Byte's value.
  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#toString(byte)"><b>toString</b></a>(byte)
  <dd>  Returns a new String object representing the specified Byte.
  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#valueOf(java.lang.String)"><b>valueOf</b></a>(String)
  <dd>  Assuming the specified String represents a byte, returns a
 new Byte object initialized to that value.
  <dt> <img src="images/green-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#valueOf(java.lang.String, int)"><b>valueOf</b></a>(String, int)
  <dd>  Assuming the specified String represents a byte, returns a
 new Byte object initialized to that value.
</dl>
<a name="variables"></a>
<h2>
  <img src="images/variables.gif" width=153 height=38 alt="Variables">
</h2>
<a name="MIN_VALUE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>MIN_VALUE</b>
<pre>
 public static final byte MIN_VALUE
</pre>
<dl>
  <dd> The minimum value a Byte can have.<p>
</dl>
<a name="MAX_VALUE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>MAX_VALUE</b>
<pre>
 public static final byte MAX_VALUE
</pre>
<dl>
  <dd> The maximum value a Byte can have.<p>
</dl>
<a name="TYPE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>TYPE</b>
<pre>
 public static final <a href="java.lang.Class.html#_top_">Class</a> TYPE
</pre>
<dl>
  <dd> The Class object representing the primitive type byte.<p>
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="Byte"></a>
<a name="Byte(byte)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>Byte</b>
<pre>
 public Byte(byte value)
</pre>
<dl>
  <dd> Constructs a Byte object initialized to the specified byte value.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> value - the initial value of the Byte
  </dl></dd>
</dl>
<a name="Byte(java.lang.String)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>Byte</b>
<pre>
 public Byte(<a href="java.lang.String.html#_top_">String</a> s) throws <a href="java.lang.NumberFormatException.html#_top_">NumberFormatException</a>
</pre>
<dl>
  <dd> Constructs a Byte object initialized to the value specified by the
 String parameter.  The radix is assumed to be 10.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> s - the String to be converted to a Byte
    <dt> <b>Throws:</b> <a href="java.lang.NumberFormatException.html#_top_">NumberFormatException</a>
    <dd> If the String does not
			contain a parsable byte.
  </dl></dd>
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="toString(byte)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="toString"><b>toString</b></a>
<pre>
 public static <a href="java.lang.String.html#_top_">String</a> toString(byte b)
</pre>
<dl>
  <dd> Returns a new String object representing the specified Byte. The radix
 is assumed to be 10.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> b - the byte to be converted
  </dl></dd>
</dl>
<a name="parseByte(java.lang.String)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="parseByte"><b>parseByte</b></a>
<pre>
 public static byte parseByte(<a href="java.lang.String.html#_top_">String</a> s) throws <a href="java.lang.NumberFormatException.html#_top_">NumberFormatException</a>
</pre>
<dl>
  <dd> Assuming the specified String represents a byte, returns
 that byte's value. Throws an exception if the String cannot
 be parsed as a byte.  The radix is assumed to be 10.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> s - the String containing the byte
    <dt> <b>Throws:</b> <a href="java.lang.NumberFormatException.html#_top_">NumberFormatException</a>
    <dd> If the string does not
			contain a parsable byte.
  </dl></dd>
</dl>
<a name="parseByte(java.lang.String, int)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="parseByte"><b>parseByte</b></a>
<pre>
 public static byte parseByte(<a href="java.lang.String.html#_top_">String</a> s,
                              int radix) throws <a href="java.lang.NumberFormatException.html#_top_">NumberFormatException</a>
</pre>
<dl>
  <dd> Assuming the specified String represents a byte, returns
 that byte's value. Throws an exception if the String cannot
 be parsed as a byte.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> s - the String containing the byte
    <dd> radix - the radix to be used
    <dt> <b>Throws:</b> <a href="java.lang.NumberFormatException.html#_top_">NumberFormatException</a>
    <dd> If the String does not
			contain a parsable byte.
  </dl></dd>
</dl>
<a name="valueOf(java.lang.String, int)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="valueOf"><b>valueOf</b></a>
<pre>
 public static <a href="#_top_">Byte</a> valueOf(<a href="java.lang.String.html#_top_">String</a> s,
                            int radix) throws <a href="java.lang.NumberFormatException.html#_top_">NumberFormatException</a>
</pre>
<dl>
  <dd> Assuming the specified String represents a byte, returns a
 new Byte object initialized to that value.  Throws an
 exception if the String cannot be parsed as a byte.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> s - the String containing the integer
    <dd> radix - the radix to be used
    <dt> <b>Throws:</b> <a href="java.lang.NumberFormatException.html#_top_">NumberFormatException</a>
    <dd> If the String does not
			contain a parsable byte.
  </dl></dd>
</dl>
<a name="valueOf(java.lang.String)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="valueOf"><b>valueOf</b></a>
<pre>
 public static <a href="#_top_">Byte</a> valueOf(<a href="java.lang.String.html#_top_">String</a> s) throws <a href="java.lang.NumberFormatException.html#_top_">NumberFormatException</a>
</pre>
<dl>
  <dd> Assuming the specified String represents a byte, returns a
 new Byte object initialized to that value.  Throws an
 exception if the String cannot be parsed as a byte.
 The radix is assumed to be 10.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> s - the String containing the integer
    <dt> <b>Throws:</b> <a href="java.lang.NumberFormatException.html#_top_">NumberFormatException</a>
    <dd> If the String does not
			contain a parsable byte.
  </dl></dd>
</dl>
<a name="decode(java.lang.String)"><img src="images/green-ball.gif" width=12 height=12 alt=" o "></a>
<a name="decode"><b>decode</b></a>
<pre>
 public static <a href="#_top_">Byte</a> decode(<a href="java.lang.String.html#_top_">String</a> nm) throws <a href="java.lang.NumberFormatException.html#_top_">NumberFormatException</a>
</pre>
<dl>
  <dd> Decodes a String into a Byte.  The String may represent
 decimal, hexadecimal, and octal numbers.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> nm - the string to decode
  </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 this Byte as a byte.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Number.html#byteValue()">byteValue</a> in class <a href="java.lang.Number.html#_top_">Number</a>
  </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 this Byte as a short.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Number.html#shortValue()">shortValue</a> in class <a href="java.lang.Number.html#_top_">Number</a>
  </dl></dd>
</dl>
<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 int intValue()
</pre>
<dl>
  <dd> Returns the value of this Byte as an int.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Number.html#intValue()">intValue</a> in class <a href="java.lang.Number.html#_top_">Number</a>
  </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 long longValue()
</pre>
<dl>
  <dd> Returns the value of this Byte as a long.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Number.html#longValue()">longValue</a> in class <a href="java.lang.Number.html#_top_">Number</a>
  </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 float floatValue()
</pre>
<dl>
  <dd> Returns the value of this Byte as a float.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Number.html#floatValue()">floatValue</a> in class <a href="java.lang.Number.html#_top_">Number</a>
  </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 double doubleValue()
</pre>
<dl>
  <dd> Returns the value of this Byte as a double.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Number.html#doubleValue()">doubleValue</a> in class <a href="java.lang.Number.html#_top_">Number</a>
  </dl></dd>
</dl>
<a name="toString()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="toString"><b>toString</b></a>
<pre>
 public <a href="java.lang.String.html#_top_">String</a> toString()
</pre>
<dl>
  <dd> Returns a String object representing this Byte's value.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Object.html#toString()">toString</a> in class <a href="java.lang.Object.html#_top_">Object</a>
  </dl></dd>
</dl>
<a name="hashCode()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="hashCode"><b>hashCode</b></a>
<pre>
 public int hashCode()
</pre>
<dl>
  <dd> Returns a hashcode for this Byte.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Object.html#hashCode()">hashCode</a> in class <a href="java.lang.Object.html#_top_">Object</a>
  </dl></dd>
</dl>
<a name="equals(java.lang.Object)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="equals"><b>equals</b></a>
<pre>
 public boolean equals(<a href="java.lang.Object.html#_top_">Object</a> obj)
</pre>
<dl>
  <dd> Compares this object to the specified object.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> obj - the object to compare with
    <dt> <b>Returns:</b>
    <dd> true if the objects are the same; false otherwise.
    <dt> <b>Overrides:</b>
    <dd> <a href="java.lang.Object.html#equals(java.lang.Object)">equals</a> in class <a href="java.lang.Object.html#_top_">Object</a>
  </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.Boolean.html#_top_">Previous</a>  <a href="java.lang.Character.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
