|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Number java.lang.Short
public final class Short
Wrapper class for shorts.
Field Summary | |
---|---|
static short |
MAX_VALUE
|
static short |
MIN_VALUE
|
static int |
SIZE
|
static Class<?> |
TYPE
|
Constructor Summary | |
---|---|
Short(short value)
|
|
Short(String s)
|
Method Summary | |
---|---|
byte |
byteValue()
Return the byte value of this Number. |
int |
compareTo(Object o)
|
double |
doubleValue()
Return the double value of this Number. |
boolean |
equals(Object o)
|
float |
floatValue()
Return the float value of this Number. |
int |
hashCode()
|
int |
intValue()
Return the int value of this Number. |
long |
longValue()
Return the long value of this Number. |
static short |
parseShort(String s)
|
static short |
parseShort(String s,
int radix)
|
static short |
reverseBytes(short s)
|
short |
shortValue()
Return the short value of this Number. |
String |
toString()
|
static String |
toString(short b)
|
static Short |
valueOf(short b)
|
static Short |
valueOf(String s)
|
static Short |
valueOf(String s,
int radix)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final short MAX_VALUE
public static final short MIN_VALUE
public static final int SIZE
public static final Class<?> TYPE
Constructor Detail |
---|
public Short(short value)
public Short(String s)
Method Detail |
---|
public byte byteValue()
Number
byteValue
in class Number
public int compareTo(Object o)
public double doubleValue()
Number
doubleValue
in class Number
public boolean equals(Object o)
equals
in class Object
public float floatValue()
Number
floatValue
in class Number
public int hashCode()
hashCode
in class Object
public int intValue()
Number
intValue
in class Number
public long longValue()
Number
longValue
in class Number
public static short parseShort(String s) throws NumberFormatException
NumberFormatException
public static short parseShort(String s, int radix) throws NumberFormatException
NumberFormatException
public static short reverseBytes(short s)
public short shortValue()
Number
shortValue
in class Number
public String toString()
toString
in class Object
public static String toString(short b)
public static Short valueOf(short b)
public static Short valueOf(String s)
public static Short valueOf(String s, int radix)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |