public class UShort extends UnsignedPrim implements java.lang.Comparable<UShort>
| Constructor and Description |
|---|
UShort(short ival) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(UShort other) |
boolean |
equals(java.lang.Object obj) |
int |
intValue() |
long |
longValue() |
int |
numBits() |
short |
shortValue() |
IntNum |
toIntNum() |
java.lang.String |
toString() |
static java.lang.String |
toString(short ival) |
static UShort |
valueOf(short ival) |
doubleValue, floatValue, hashCodepublic int numBits()
numBits in class UnsignedPrimpublic static UShort valueOf(short ival)
public short shortValue()
shortValue in class java.lang.Numberpublic int intValue()
intValue in class java.lang.Numberpublic long longValue()
longValue in class UnsignedPrimpublic IntNum toIntNum()
toIntNum in class UnsignedPrimpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int compareTo(UShort other)
compareTo in interface java.lang.Comparable<UShort>public static java.lang.String toString(short ival)
public java.lang.String toString()
toString in class java.lang.Object