JML

java.lang
Class Byte

java.lang.Object
  extended byjava.lang.Number
      extended byjava.lang.Byte
All Implemented Interfaces:
Comparable, Serializable

public final class Byte
extends Number
implements Comparable


Nested Class Summary
private static class Byte.ByteCache
           
 
Field Summary
static byte MAX_VALUE
           
static byte MIN_VALUE
           
private static long serialVersionUID
           
static int SIZE
           
static Class TYPE
           
private  byte value
           
 
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()
           
static String toString(byte)
           
static Byte valueOf(byte)
           
static Byte valueOf(String)
           
static Byte valueOf(String, int)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

value

private final byte value

MAX_VALUE

public static final byte MAX_VALUE

SIZE

public static final int SIZE

MIN_VALUE

public static final byte MIN_VALUE

serialVersionUID

private static final long serialVersionUID

TYPE

public static final Class TYPE
Constructor Detail

Byte

public Byte(byte)

Byte

public Byte(String)
     throws NumberFormatException
Throws:
NumberFormatException
Method Detail

toString

public static String toString(byte)

valueOf

public static Byte valueOf(byte)

parseByte

public static byte parseByte(String)
                      throws NumberFormatException
Throws:
NumberFormatException

parseByte

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

valueOf

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

valueOf

public static Byte valueOf(String)
                    throws NumberFormatException
Throws:
NumberFormatException

decode

public static Byte decode(String)
                   throws NumberFormatException
Throws:
NumberFormatException

byteValue

public byte byteValue()
Overrides:
byteValue in class Number

shortValue

public short shortValue()
Overrides:
shortValue in class Number

intValue

public int intValue()

longValue

public long longValue()

floatValue

public float floatValue()

doubleValue

public double doubleValue()

toString

public String toString()
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 volatile int compareTo(Object)
Specified by:
compareTo in interface Comparable

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.