| Package | Description |
|---|---|
| java.lang |
| Modifier and Type | Method and Description |
|---|---|
static Short |
Short.decode(String nm)
Decodes a
String into a Short. |
static Short |
Short.valueOf(short s)
Returns a
Short instance representing the specified short value. |
static Short |
Short.valueOf(String s)
Returns a
Short object holding the value given by the specified String. |
static Short |
Short.valueOf(String s,
int radix)
Returns a
Short 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 |
Short.compareTo(Short anotherShort)
Compares two
Short objects numerically. |