public class UInt extends UnsignedPrim implements java.lang.Comparable<UInt>
| Constructor and Description |
|---|
UInt (int ival) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo (UInt other) |
boolean |
equals (java.lang.Object obj) |
int |
intValue () |
long |
longValue () |
int |
numBits () |
IntNum |
toIntNum () |
java.lang.String |
toString () |
static java.lang.String |
toString (int ival) |
static UInt |
valueOf (int ival) |
doubleValue, floatValue, hashCode byteValue, shortValueclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic UInt(int ival)
public int numBits()
numBits in class UnsignedPrim public static UInt valueOf(int ival)
public int intValue()
intValue in class java.lang.Numberpublic long longValue()
longValue in class UnsignedPrim public IntNum toIntNum()
toIntNum in class UnsignedPrim public static java.lang.String toString(int ival)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int compareTo(UInt other)
compareTo in interface java.lang.Comparable<UInt>public java.lang.String toString()
toString in class java.lang.Object