Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
Modifier and Type | Field and Description |
---|---|
static Class<Integer> |
Integer.TYPE
The
Class instance representing the primitive type
int . |
Modifier and Type | Method and Description |
---|---|
static Integer |
Integer.decode(String nm)
Decodes a
String into an Integer . |
static Integer |
Integer.getInteger(String nm)
Determines the integer value of the system property with the
specified name.
|
static Integer |
Integer.getInteger(String nm,
int val)
Determines the integer value of the system property with the
specified name.
|
static Integer |
Integer.getInteger(String nm,
Integer val)
Returns the integer value of the system property with the
specified name.
|
static Integer |
Integer.valueOf(int i)
Returns an
Integer instance representing the specified
int value. |
static Integer |
Integer.valueOf(String s)
Returns an
Integer object holding the
value of the specified String . |
static Integer |
Integer.valueOf(String s,
int radix)
Returns an
Integer object holding the value
extracted from the specified String when parsed
with the radix given by the second argument. |
Modifier and Type | Method and Description |
---|---|
int |
Integer.compareTo(Integer anotherInteger)
Compares two
Integer objects numerically. |
static Integer |
Integer.getInteger(String nm,
Integer val)
Returns the integer value of the system property with the
specified name.
|