public final class UnsignedLong extends java.lang.Number implements java.lang.Comparable<UnsignedLong>
Modifier and Type | Field and Description |
---|---|
static UnsignedLong |
ZERO |
Constructor and Description |
---|
UnsignedLong(long underlying) |
Modifier and Type | Method and Description |
---|---|
java.math.BigInteger |
bigIntegerValue() |
int |
compareTo(UnsignedLong o) |
double |
doubleValue() |
boolean |
equals(java.lang.Object o) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
java.lang.String |
toString() |
static UnsignedLong |
valueOf(java.math.BigInteger bigInt) |
static UnsignedLong |
valueOf(long underlying) |
static UnsignedLong |
valueOf(java.lang.String value) |
public static final UnsignedLong ZERO
public int intValue()
intValue
in class java.lang.Number
public long longValue()
longValue
in class java.lang.Number
public java.math.BigInteger bigIntegerValue()
public float floatValue()
floatValue
in class java.lang.Number
public double doubleValue()
doubleValue
in class java.lang.Number
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(UnsignedLong o)
compareTo
in interface java.lang.Comparable<UnsignedLong>
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static UnsignedLong valueOf(long underlying)
public static UnsignedLong valueOf(java.lang.String value)
public static UnsignedLong valueOf(java.math.BigInteger bigInt)