java.lang
Class Integer
java.lang.Object
java.lang.Number
java.lang.Integer
public class Integer
- extends Number
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
Integer
public Integer(int value)
Integer
public Integer(String s)
throws NumberFormatException
- Throws:
NumberFormatException
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)