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, hashCode byteValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic UShort(short ival)
public int numBits()
numBits in class UnsignedPrim public 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 UnsignedPrim public IntNum toIntNum()
toIntNum in class UnsignedPrim public 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