java.lang
Class Integer
java.lang.Object
|
+--java.lang.Number
|
+--java.lang.Integer
- public class Integer
- extends Number
MIN_VALUE
public static int MIN_VALUE
MAX_VALUE
public static int MAX_VALUE
Integer
public Integer(int v)
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