public class UInt64 extends Int64
| Modifier and Type | Field and Description |
|---|---|
static java.math.BigInteger |
MAX_UINT64
Maximum UINT64 value.
|
LICENSE_TYPE, V| Constructor and Description |
|---|
UInt64() |
UInt64(java.math.BigInteger value)
Use this constructor to create unsigned value that is bigger than
Long.MAX_VALUE value. |
UInt64(IntegerParameter value) |
UInt64(long value) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares two instances as
IntegerParameter by their value. |
java.lang.String |
getDebugInfo()
Return debug info for JNIWrapper parameter.
|
long |
getValue()
Returns internal presentation of
unsigned long value. |
int |
hashCode() |
void |
setValue(java.math.BigInteger value)
Set the unsigned long of this
UInt64 from BigIngeger value. |
java.math.BigInteger |
toBigInteger()
Returns the value of this
UInt64 as a
BigInteger value. |
java.lang.Long |
toLong() |
java.lang.String |
toString() |
acceptIOPerformer, asReturnValue, dataBufferAssigned, getAlignedLength, getAlignmentRequirement, getDataBuffer, getDataBufferOffset, indent, pop, push, read, read, setDataBuffer, toByteArray, writepublic static final java.math.BigInteger MAX_UINT64
BigInteger.valueOf(Long.MAX_VALUE).multiply(BigInteger.valueOf(2)).add(BigInteger.ONE)public UInt64()
public UInt64(long value)
public UInt64(IntegerParameter value)
public UInt64(java.math.BigInteger value)
Long.MAX_VALUE value.value - unsigned valuepublic void setValue(java.math.BigInteger value)
UInt64 from BigIngeger value.value - unsigned BigInteger valuepublic long getValue()
unsigned long value.
This value may be less than zero for unsigned long values that bigger than Long.MAX_VALUE. toBigInteger() method.getValue in interface IntegerParametergetValue in class Int64public java.math.BigInteger toBigInteger()
UInt64 as a
BigInteger value.public boolean equals(java.lang.Object obj)
IntegerParameter by their value.public java.lang.Long toLong()
public java.lang.String getDebugInfo()
ParametergetDebugInfo in class Parameterpublic java.lang.String toString()
toString in class java.lang.Object