|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Number
org.jooq.tools.unsigned.UNumber
org.jooq.tools.unsigned.UInteger
public final class UInteger
The unsigned int type
| Field Summary | |
|---|---|
static long |
MAX_VALUE
A constant holding the maximum value an unsigned int can
have, 232-1. |
static long |
MIN_VALUE
A constant holding the minimum value an unsigned int can
have, 0. |
| Constructor Summary | |
|---|---|
UInteger(int value)
Create an unsigned int by masking it with
0xFFFFFFFF i.e. |
|
UInteger(long value)
Create an unsigned int |
|
UInteger(String value)
Create an unsigned int |
|
| Method Summary | |
|---|---|
int |
compareTo(UInteger o)
|
double |
doubleValue()
|
boolean |
equals(Object obj)
|
float |
floatValue()
|
int |
hashCode()
|
int |
intValue()
|
long |
longValue()
|
String |
toString()
|
static UInteger |
valueOf(int value)
Create an unsigned int by masking it with
0xFFFFFFFF i.e. |
static UInteger |
valueOf(String value)
Create an unsigned int |
| Methods inherited from class org.jooq.tools.unsigned.UNumber |
|---|
toBigInteger |
| Methods inherited from class java.lang.Number |
|---|
byteValue, shortValue |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long MIN_VALUE
unsigned int can
have, 0.
public static final long MAX_VALUE
unsigned int can
have, 232-1.
| Constructor Detail |
|---|
public UInteger(long value)
throws NumberFormatException
unsigned int
NumberFormatException - If value is not in the range
of an unsigned intpublic UInteger(int value)
unsigned int by masking it with
0xFFFFFFFF i.e. (int) -1 becomes
(uint) 4294967295
public UInteger(String value)
throws NumberFormatException
unsigned int
NumberFormatException - If value does not contain a
parsable unsigned int.| Method Detail |
|---|
public static UInteger valueOf(String value)
throws NumberFormatException
unsigned int
NumberFormatException - If value does not contain a
parsable unsigned int.UInteger(String)public static UInteger valueOf(int value)
unsigned int by masking it with
0xFFFFFFFF i.e. (int) -1 becomes
(uint) 4294967295
UInteger(int)public int intValue()
intValue in class Numberpublic long longValue()
longValue in class Numberpublic float floatValue()
floatValue in class Numberpublic double doubleValue()
doubleValue in class Numberpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectpublic int compareTo(UInteger o)
compareTo in interface Comparable<UInteger>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||