|
RoboJDETM v2.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Integer
public class Integer
Class to represent an int as an immutable object.
Field Summary | |
---|---|
static int |
MAX_VALUE
Maximum positive int. |
static int |
MIN_VALUE
Minimum (most negative) int. |
Constructor Summary | |
---|---|
Integer(int value)
Constructs an Integer object. |
Method Summary | |
---|---|
int |
intValue()
Returns the int value of this object. |
static String |
toHexString(int value)
Returns a hexadecimal String representation of the specified int. |
String |
toString()
Returns a String representation of this Integer. |
static String |
toString(int value)
Returns a String representation of the specified int. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait |
Field Detail |
---|
public static final int MAX_VALUE
public static final int MIN_VALUE
Constructor Detail |
---|
public Integer(int value)
value
- int valueMethod Detail |
---|
public int intValue()
public static String toHexString(int value)
value
- int value
public String toString()
toString
in class Object
public static String toString(int value)
value
- int value
|
RoboJDETM v2.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |