public class UInt64
extends java.lang.Number
implements java.lang.Comparable
| Modifier and Type | Field and Description |
|---|---|
static UInt64 |
MAX_VALUE |
static java.math.BigInteger |
MAX_VALUE_BIG_FORMAT |
static UInt64 |
MIN_VALUE |
static java.math.BigInteger |
MIN_VALUE_BIG_FORMAT |
protected long |
value |
| Constructor and Description |
|---|
UInt64(java.math.BigInteger big) |
UInt64(long value)
Constructs from a signed 64 bit long value, the bits are treated as if they
represented an unsigned value.
|
UInt64(java.lang.String s)
Constructs from a string.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.lang.Object o) |
int |
compareTo(UInt64 anotherUInt) |
double |
doubleValue() |
boolean |
equals(java.lang.Object o) |
float |
floatValue() |
java.math.BigInteger |
getBigInteger() |
long |
getRawValue()
Intended for internal use only.
|
int |
hashCode() |
int |
intValue() |
long |
longValue() |
java.lang.String |
toHexString() |
java.lang.String |
toString() |
static UInt64 |
valueOf(java.lang.String s) |
static UInt64 |
valueOf(java.lang.String s,
int radix) |
protected long value
public static final UInt64 MIN_VALUE
public static final java.math.BigInteger MIN_VALUE_BIG_FORMAT
public static final UInt64 MAX_VALUE
public static final java.math.BigInteger MAX_VALUE_BIG_FORMAT
public UInt64(long value)
public UInt64(java.lang.String s)
public UInt64(java.math.BigInteger big)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toHexString()
public static UInt64 valueOf(java.lang.String s)
public static UInt64 valueOf(java.lang.String s, int radix)
public int compareTo(UInt64 anotherUInt)
public int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic float floatValue()
floatValue in class java.lang.Numberpublic double doubleValue()
doubleValue in class java.lang.Numberpublic int intValue()
intValue in class java.lang.Numberpublic long longValue()
longValue in class java.lang.Numberpublic long getRawValue()
public java.math.BigInteger getBigInteger()