Package java.lang
Class Short
java.lang.Object
java.lang.Number
java.lang.Short
- All Implemented Interfaces:
Serializable
,Comparable
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MAX_VALUE
public static final short MAX_VALUE- See Also:
-
MIN_VALUE
public static final short MIN_VALUE- See Also:
-
TYPE
-
-
Constructor Details
-
Short
- Throws:
NumberFormatException
-
Short
public Short(short var0)
-
-
Method Details
-
byteValue
public byte byteValue() -
compareTo
- Specified by:
compareTo
in interfaceComparable
-
compareTo
-
decode
- Throws:
NumberFormatException
-
doubleValue
public double doubleValue()- Specified by:
doubleValue
in classNumber
-
equals
-
floatValue
public float floatValue()- Specified by:
floatValue
in classNumber
-
hashCode
public int hashCode() -
intValue
public int intValue() -
longValue
public long longValue() -
parseShort
- Throws:
NumberFormatException
-
parseShort
- Throws:
NumberFormatException
-
shortValue
public short shortValue()- Overrides:
shortValue
in classNumber
-
toString
-
toString
-
valueOf
- Throws:
NumberFormatException
-
valueOf
- Throws:
NumberFormatException
-