Package gnu.math
Class UShort
java.lang.Object
java.lang.Number
gnu.math.UnsignedPrim
gnu.math.UShort
- All Implemented Interfaces:
Serializable
,Comparable<UShort>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class gnu.math.UnsignedPrim
doubleValue, floatValue, hashCode
-
Constructor Details
-
UShort
public UShort(short ival)
-
-
Method Details
-
numBits
public int numBits()- Specified by:
numBits
in classUnsignedPrim
-
valueOf
-
shortValue
public short shortValue()- Overrides:
shortValue
in classNumber
-
intValue
public int intValue() -
longValue
public long longValue()- Overrides:
longValue
in classUnsignedPrim
-
toIntNum
- Overrides:
toIntNum
in classUnsignedPrim
-
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<UShort>
-
toString
-
toString
-