java.lang
Class Integer

java.lang.Object
  |
  +--java.lang.Number
        |
        +--java.lang.Integer

public class Integer
extends Number


Field Summary
static int MAX_VALUE
           
static int MIN_VALUE
           
 
Constructor Summary
Integer(int v)
           
 
Method Summary
 byte byteValue()
           
 boolean equals(Object o)
           
 float floatValue()
           
 int hashCode()
           
 int intValue()
           
 long longValue()
           
static int parseInt(String s)
           
static int parseInt(String s, int radix)
           
 short shortValue()
           
static String toBinaryString(int val)
           
static String toHexString(int val)
           
static String toOctalString(int val)
           
 String toString()
           
static String toString(int val)
           
static String toString(int val, int radix)
           
static Integer valueOf(String s)
           
static Integer valueOf(String s, int radix)
           
 
Methods inherited from class java.lang.Object
getClass
 

Field Detail

MIN_VALUE

public static int MIN_VALUE

MAX_VALUE

public static int MAX_VALUE
Constructor Detail

Integer

public Integer(int v)
Method Detail

byteValue

public byte byteValue()
Specified by:
byteValue in class Number

shortValue

public short shortValue()
Specified by:
shortValue in class Number

intValue

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

longValue

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

floatValue

public float floatValue()
Specified by:
floatValue in class Number

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

parseInt

public static int parseInt(String s)
                    throws NumberFormatException
NumberFormatException

parseInt

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

toOctalString

public static String toOctalString(int val)

toHexString

public static String toHexString(int val)

toBinaryString

public static String toBinaryString(int val)

toString

public String toString()
Overrides:
toString in class Object

toString

public static String toString(int val)

toString

public static String toString(int val,
                              int radix)

valueOf

public static Integer valueOf(String s)
                       throws NumberFormatException
NumberFormatException

valueOf

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