java.lang
Class Byte

java.lang.Object
  |
  +--java.lang.Number
        |
        +--java.lang.Byte
All Implemented Interfaces:
Comparable, Serializable

public final synchronized class Byte
extends Number
implements Comparable

See Also:
Serialized Form

Field Summary
static byte MAX_VALUE
           
static byte MIN_VALUE
           
static Class TYPE
           
 
Constructor Summary
Byte(byte)
           
Byte(String)
           
 
Method Summary
 byte byteValue()
           
 int compareTo(Byte)
           
 int compareTo(Object)
           
static Byte decode(String)
           
 double doubleValue()
           
 boolean equals(Object)
           
 float floatValue()
           
 int hashCode()
           
 int intValue()
           
 long longValue()
           
static byte parseByte(String)
           
static byte parseByte(String, int)
           
 short shortValue()
           
 String toString()
          Returns the empty string.
static String toString(byte)
           
static Byte valueOf(String)
           
static Byte valueOf(String, int)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait
 

Field Detail

MIN_VALUE

public static final byte MIN_VALUE
See Also:
Constant Field Values

MAX_VALUE

public static final byte MAX_VALUE
See Also:
Constant Field Values

TYPE

public static final Class TYPE
Constructor Detail

Byte

public Byte(byte)

Byte

public Byte(String)
     throws NumberFormatException
Method Detail

toString

public static String toString(byte)

parseByte

public static byte parseByte(String)
                      throws NumberFormatException
NumberFormatException

parseByte

public static byte parseByte(String,
                             int)
                      throws NumberFormatException
NumberFormatException

valueOf

public static Byte valueOf(String,
                           int)
                    throws NumberFormatException
NumberFormatException

valueOf

public static Byte valueOf(String)
                    throws NumberFormatException
NumberFormatException

decode

public static Byte decode(String)
                   throws NumberFormatException
NumberFormatException

byteValue

public byte byteValue()
Overrides:
byteValue in class Number

shortValue

public short shortValue()
Overrides:
shortValue in class Number

intValue

public int intValue()
Specified by:
intValue in class Number

longValue

public long longValue()
Specified by:
longValue in class Number

floatValue

public float floatValue()
Specified by:
floatValue in class Number

doubleValue

public double doubleValue()
Specified by:
doubleValue in class Number

toString

public String toString()
Description copied from class: Object
Returns the empty string. It's here to satisfy javac.

Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object)
Overrides:
equals in class Object

compareTo

public int compareTo(Byte)

compareTo

public int compareTo(Object)
Specified by:
compareTo in interface Comparable