Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.lang.Integer

Availability: JDK 1.0

public final class Integer extends Number {
   // Public Constructors
      public Integer(int value);
      public Integer(String s) throws NumberFormatException;
   // Constants
      public static final int MAX_VALUE;
      public static final int MIN_VALUE;
1.1  public static final Class TYPE;
   // Class Methods
      public static Integer decode(String nm) throws NumberFormatException;
      public static Integer getInteger(String nm);
      public static Integer getInteger(String nm, int val);
      public static Integer getInteger(String nm, Integer val);
      public static int parseInt(String s, int radix) throws NumberFormatException;
      public static int parseInt(String s) throws NumberFormatException;
      public static String toBinaryString(int i);
      public static String toHexString(int i);
      public static String toOctalString(int i);
      public static String toString(int i, int radix);
      public static String toString(int i);
      public static Integer valueOf(String s, int radix) throws NumberFormatException;
      public static Integer valueOf(String s) throws NumberFormatException;
   // Public Instance Methods
1.1  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()
1.1  public short shortValue();  // Overrides Number.shortValue()
      public String toString();  // Overrides Object.toString()
}
Passed To:
Integer.getInteger().
Returned By:
Integer.decode(), Integer.getInteger(), Integer.valueOf().

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