public final class UINT64 extends java.lang.Number implements java.lang.Comparable<UINT64>
Modifier and Type | Field and Description |
---|---|
static UINT64 |
MAX_VALUE |
static UINT64 |
MIN_VALUE |
static UINT64 |
ONE |
static int |
SIZE
Size of type in bytes.
|
static UINT64 |
TEN |
static UINT64 |
ZERO |
Constructor and Description |
---|
UINT64(java.math.BigInteger value) |
UINT64(long value) |
Modifier and Type | Method and Description |
---|---|
java.math.BigInteger |
bigInteger() |
byte[] |
bytes() |
int |
compareTo(UINT64 o) |
double |
doubleValue() |
boolean |
equals(java.lang.Object o) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
static UINT64 |
read(java.io.InputStream is) |
java.lang.String |
toString() |
static UINT64 |
valueOf(byte[] bytes) |
public static final int SIZE
public static final UINT64 MIN_VALUE
public static final UINT64 MAX_VALUE
public static final UINT64 ZERO
public static final UINT64 ONE
public static final UINT64 TEN
public UINT64(long value)
public UINT64(java.math.BigInteger value)
public byte[] bytes()
public java.math.BigInteger bigInteger()
public int intValue()
intValue
in class java.lang.Number
public long longValue()
longValue
in class java.lang.Number
public float floatValue()
floatValue
in class java.lang.Number
public double doubleValue()
doubleValue
in class java.lang.Number
public int compareTo(UINT64 o)
compareTo
in interface java.lang.Comparable<UINT64>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static UINT64 valueOf(byte[] bytes) throws java.io.IOException
java.io.IOException
public static UINT64 read(java.io.InputStream is) throws java.io.IOException
java.io.IOException