java.lang.Byte


The Byte class is the standard wrapper for byte values.
package java.lang;

public final
class Byte extends Number {				// (>JDK1.1)

    // Constantes et champs protégés
	public static final byte   MIN_VALUE = -128;	// (>JDK1.1)
	public static final byte   MAX_VALUE = 127;	// (>JDK1.1)
	public static final Class  TYPE = Class.getPrimitiveClass("byte");
	// (>JDK1.1)

    // Constructeurs publics
	public Byte(byte value);			// (>JDK1.1)
	public Byte(String s) 
		throws NumberFormatException;		// (>JDK1.1)

    // Méthodes de classe publiques
	public static Byte decode(String nm)
		throws NumberFormatException;		// (>JDK1.1)
	public static byte parseByte(String s)
		throws NumberFormatException;		// (>JDK1.1)
	public static byte parseByte(String s, int radix)
		throws NumberFormatException;		// (>JDK1.1)
	public static String toString(byte b);		// (>JDK1.1)
	public static Byte valueOf(String s)
		throws NumberFormatException;		// (>JDK1.1)
	public static Byte valueOf(String s, int radix)
		throws NumberFormatException;		// (>JDK1.1)

    // Méthodes d'instance publiques
	public byte byteValue();			// (>JDK1.1)
	public double doubleValue();			// (>JDK1.1)
	public boolean equals(Object obj);		// (>JDK1.1)
	public float floatValue();			// (>JDK1.1)
	public int hashCode();				// (>JDK1.1)
	public int intValue();				// (>JDK1.1)
	public long longValue();			// (>JDK1.1)
	public short shortValue();			// (>JDK1.1)
	public String toString();			// (>JDK1.1)
}

Christophe Merlet
redfox@redfoxcenter.org
©Tous droits réservés
11 septembre 1998