java.lang.Object
java.lang.Number
org.jooq.types.UNumber
org.jooq.types.UInteger
- All Implemented Interfaces:
- Serializable,- Comparable<UInteger>
The 
unsigned int type- Author:
- Lukas Eder, Ed Schaller, Jens Nerche
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final UIntegerA constant holding the maximum value anunsigned intcan have as UInteger, 232-1.static final longA constant holding the maximum value anunsigned intcan have, 232-1.static final UIntegerA constant holding the minimum value anunsigned intcan have as UInteger, 0.static final longA constant holding the minimum value anunsigned intcan have, 0.
- 
Method SummaryModifier and TypeMethodDescriptionadd(int val) intdoublebooleanfloatinthashCode()intintValue()longsubtract(int val) Get this number as aBigInteger.toString()static UIntegervalueOf(int value) Create anunsigned intby masking it with0xFFFFFFFFi.e.static UIntegervalueOf(long value) Create anunsigned intstatic UIntegerCreate anunsigned intMethods inherited from class java.lang.NumberbyteValue, shortValue
- 
Field Details- 
MIN_VALUEpublic static final long MIN_VALUEA constant holding the minimum value anunsigned intcan have, 0.- See Also:
 
- 
MAX_VALUEpublic static final long MAX_VALUEA constant holding the maximum value anunsigned intcan have, 232-1.- See Also:
 
- 
MINA constant holding the minimum value anunsigned intcan have as UInteger, 0.
- 
MAXA constant holding the maximum value anunsigned intcan have as UInteger, 232-1.
 
- 
- 
Method Details- 
valueOfCreate anunsigned int- Throws:
- NumberFormatException- If- valuedoes not contain a parsable- unsigned int.
 
- 
valueOfCreate anunsigned intby masking it with0xFFFFFFFFi.e.(int) -1becomes(uint) 4294967295
- 
valueOfCreate anunsigned int- Throws:
- NumberFormatException- If- valueis not in the range of an- unsigned byte
 
- 
intValuepublic int intValue()
- 
longValuepublic long longValue()
- 
floatValuepublic float floatValue()- Specified by:
- floatValuein class- Number
 
- 
doubleValuepublic double doubleValue()- Specified by:
- doubleValuein class- Number
 
- 
toBigIntegerDescription copied from class:UNumberGet this number as aBigInteger. This is a convenience method for callingnew BigInteger(toString())- Overrides:
- toBigIntegerin class- UNumber
 
- 
hashCodepublic int hashCode()
- 
equals
- 
toString
- 
compareTo- Specified by:
- compareToin interface- Comparable<UInteger>
 
- 
add
- 
add
- 
subtract
- 
subtract
 
-