java.lang
Class Integer

java.lang.Object
  extended by java.lang.Number
      extended by java.lang.Integer

public class Integer
extends Number


Field Summary
static int MAX_VALUE
           
static int MIN_VALUE
           
static Class TYPE
           
 
Constructor Summary
Integer(int value)
           
Integer(String s)
           
 
Method Summary
 byte byteValue()
           
 double doubleValue()
           
 boolean equals(Object obj)
           
 float floatValue()
           
static Integer getInteger(String nm)
           
static Integer getInteger(String nm, int val)
           
static Integer getInteger(String nm, Integer val)
           
 int hashCode()
           
 int intValue()
           
 long longValue()
           
static int parseInt(String s)
           
static int parseInt(String s, int radix)
           
 short shortValue()
           
static String toBinaryString(int i)
           
static String toHexString(int i)
           
static String toOctalString(int i)
           
 String toString()
           
static String toString(int i)
           
static String toString(int value, int radix)
           
static Integer valueOf(String s)
           
static Integer valueOf(String s, int radix)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait
 

Field Detail

TYPE

public static final Class TYPE

MIN_VALUE

public static final int MIN_VALUE
See Also:
Constant Field Values

MAX_VALUE

public static final int MAX_VALUE
See Also:
Constant Field Values
Constructor Detail

Integer

public Integer(int value)

Integer

public Integer(String s)
        throws NumberFormatException
Throws:
NumberFormatException
Method Detail

byteValue

public byte byteValue()
Overrides:
byteValue in class Number

doubleValue

public double doubleValue()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

floatValue

public float floatValue()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

intValue

public int intValue()
Specified by:
intValue in class Number

longValue

public long longValue()
Specified by:
longValue in class Number

parseInt

public static int parseInt(String s)
                    throws NumberFormatException
Throws:
NumberFormatException

parseInt

public static int parseInt(String s,
                           int radix)
                    throws NumberFormatException
Throws:
NumberFormatException

shortValue

public short shortValue()
Overrides:
shortValue in class Number

toBinaryString

public static String toBinaryString(int i)

toHexString

public static String toHexString(int i)

toOctalString

public static String toOctalString(int i)

toString

public String toString()
Overrides:
toString in class Object

toString

public static String toString(int i)

toString

public static String toString(int value,
                              int radix)

valueOf

public static Integer valueOf(String s)
                       throws NumberFormatException
Throws:
NumberFormatException

valueOf

public static Integer valueOf(String s,
                              int radix)
                       throws NumberFormatException
Throws:
NumberFormatException

getInteger

public static Integer getInteger(String nm)

getInteger

public static Integer getInteger(String nm,
                                 int val)

getInteger

public static Integer getInteger(String nm,
                                 Integer val)