Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.lang.Short

Availability: JDK 1.1

public final class Short extends Number {
   // Public Constructors
      public Short(short value);
      public Short(String s) throws NumberFormatException;
   // Constants
      public static final short MAX_VALUE;
      public static final short MIN_VALUE;
      public static final Class TYPE;
   // Class Methods
      public static Short decode(String nm) throws NumberFormatException;
      public static short parseShort(String s) throws NumberFormatException;
      public static short parseShort(String s, int radix) throws NumberFormatException;
      public static String toString(short s);
      public static Short valueOf(String s, int radix) throws NumberFormatException;
      public static Short 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:
Short.decode(), Short.valueOf().

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