public final class UINT32 extends java.lang.Number implements java.lang.Comparable<UINT32>
Modifier and Type | Field and Description |
---|---|
static UINT32 |
MAX_VALUE |
static UINT32 |
MIN_VALUE |
static int |
SIZE
Size of type in bytes.
|
static UINT32 |
ZERO |
Constructor and Description |
---|
UINT32(byte[] bytes) |
UINT32(long longValue) |
Modifier and Type | Method and Description |
---|---|
byte[] |
bytes() |
int |
compareTo(UINT32 o) |
double |
doubleValue() |
boolean |
equals(java.lang.Object o) |
float |
floatValue() |
int |
hashCode() |
int |
intValue() |
long |
longValue() |
static UINT32 |
read(java.io.InputStream is) |
java.lang.String |
toString()
String notated in hexadecimal big endian
|
static UINT32 |
valueOf(byte[] bytes) |
public static final int SIZE
public static final UINT32 MIN_VALUE
public static final UINT32 MAX_VALUE
public static final UINT32 ZERO
public byte[] bytes()
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(UINT32 o)
compareTo
in interface java.lang.Comparable<UINT32>
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 UINT32 valueOf(byte[] bytes) throws java.io.IOException
java.io.IOException
public static UINT32 read(java.io.InputStream is) throws java.io.IOException
java.io.IOException