Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.lang.Byte

Availability: JDK 1.1

public final class Byte extends Number {
   // Public Constructors
      public Byte(byte value);
      public Byte(String s) throws NumberFormatException;
   // Constants
      public static final byte MAX_VALUE;
      public static final byte MIN_VALUE;
      public static final Class TYPE;
   // Class Methods
      public static Byte decode(String nm) throws NumberFormatException;
      public static byte parseByte(String s) throws NumberFormatException;
      public static byte parseByte(String s, int radix) throws NumberFormatException;
      public static String toString(byte b);
      public static Byte valueOf(String s, int radix) throws NumberFormatException;
      public static Byte valueOf(String s) throws NumberFormatException;
   // Public Instance Methods
      public byte byteValue();  // Overrides Number.byteValue()
      public double doubleValue();  // Defines Number.doubleValue()
      public boolean equals(Object obj);  // Overrides Object.equals()
      public float floatValue();  // Defines Number.floatValue()
      public int hashCode();  // Overrides Object.hashCode()
      public int intValue();  // Defines Number.intValue()
      public long longValue();  // Defines Number.longValue()
      public short shortValue();  // Overrides Number.shortValue()
      public String toString();  // Overrides Object.toString()
}
Returned By:
Byte.decode(), Byte.valueOf().

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.