|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Integer
Minimal Integer implementation that supports converting an int to a String.
Field Summary | |
static int |
MAX_VALUE
The largest value of type int . |
static int |
MIN_VALUE
The smallest value of type int . |
Constructor Summary | |
Integer(int value)
Constructs a newly allocated Integer object that
represents the primitive int argument. |
Method Summary | |
String |
toString()
Returns a String object representing this Integer's value. |
static String |
toString(int i)
Returns a new String object representing the specified integer. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait |
Field Detail |
public static final int MIN_VALUE
int
. The constant
value of this field is -2147483648.
public static final int MAX_VALUE
int
. The constant
value of this field is 2147483647.
Constructor Detail |
public Integer(int value)
Integer
object that
represents the primitive int
argument.
value
- the value to be represented by the Integer
.Method Detail |
public static String toString(int i)
i
- an integer to be converted.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |