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
public int numBits()
numBits
in class UnsignedPrim
public static UInt valueOf(int ival)
public int intValue()
intValue
in class java.lang.Number
public 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.Object
public int compareTo(UInt other)
compareTo
in interface java.lang.Comparable<UInt>
public java.lang.String toString()
toString
in class java.lang.Object