public final class Short extends Number implements Comparable
| Modifier and Type | Field and Description |
|---|---|
static short |
MAX_VALUE |
static short |
MIN_VALUE |
static Class |
TYPE |
| Modifier and Type | Method and Description |
|---|---|
byte |
byteValue() |
int |
compareTo(Object var0) |
int |
compareTo(Short var0) |
static Short |
decode(String var0) |
double |
doubleValue() |
boolean |
equals(Object var0) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
static short |
parseShort(String var0) |
static short |
parseShort(String var0,
int var1) |
short |
shortValue() |
String |
toString() |
static String |
toString(short var0) |
static Short |
valueOf(String var0) |
static Short |
valueOf(String var0,
int var1) |
public static final short MAX_VALUE
public static final short MIN_VALUE
public static final Class TYPE
public Short(String var0) throws NumberFormatException
NumberFormatExceptionpublic Short(short var0)
public int compareTo(Object var0)
compareTo in interface Comparablepublic int compareTo(Short var0)
public static Short decode(String var0) throws NumberFormatException
NumberFormatExceptionpublic double doubleValue()
doubleValue in class Numberpublic float floatValue()
floatValue in class Numberpublic static short parseShort(String var0) throws NumberFormatException
NumberFormatExceptionpublic static short parseShort(String var0, int var1) throws NumberFormatException
NumberFormatExceptionpublic short shortValue()
shortValue in class Numberpublic static String toString(short var0)
public static Short valueOf(String var0) throws NumberFormatException
NumberFormatExceptionpublic static Short valueOf(String var0, int var1) throws NumberFormatException
NumberFormatException