Class UInteger
- java.lang.Object
- 
- java.lang.Number
- 
- org.apache.tika.parser.microsoft.onenote.fsshttpb.unsigned.UNumber
- 
- org.apache.tika.parser.microsoft.onenote.fsshttpb.unsigned.UInteger
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<UInteger>
 
 public final class UInteger extends UNumber implements Comparable<UInteger> Theunsigned inttype- Author:
- Lukas Eder, Ed Schaller, Jens Nerche
- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static UIntegerMAXA constant holding the maximum value anunsigned intcan have as UInteger, 232-1.static longMAX_VALUEA constant holding the maximum value anunsigned intcan have, 232-1.static UIntegerMINA constant holding the minimum value anunsigned intcan have as UInteger, 0.static longMIN_VALUEA constant holding the minimum value anunsigned intcan have, 0.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UIntegeradd(int val)UIntegeradd(UInteger val)intcompareTo(UInteger o)doubledoubleValue()booleanequals(Object obj)floatfloatValue()inthashCode()UIntegerinclusiveOr(int val)UIntegerinclusiveOr(long val)UIntegerinclusiveOr(UInteger val)intintValue()UIntegerleftShift(int shiftAmount)longlongValue()UIntegerrightShift(int shiftAmount)UIntegersubtract(int val)UIntegersubtract(UInteger val)BigIntegertoBigInteger()Get this number as aBigInteger.StringtoString()static UIntegervalueOf(int value)Create anunsigned intby masking it with0xFFFFFFFFi.e.static UIntegervalueOf(long value)Create anunsigned intstatic UIntegervalueOf(String value)Create anunsigned intUIntegerxor(int val)UIntegerxor(long val)UIntegerxor(UInteger val)- 
Methods inherited from class java.lang.NumberbyteValue, shortValue
 
- 
 
- 
- 
- 
Field Detail- 
MIN_VALUEpublic static final long MIN_VALUE A constant holding the minimum value anunsigned intcan have, 0.- See Also:
- Constant Field Values
 
 - 
MAX_VALUEpublic static final long MAX_VALUE A constant holding the maximum value anunsigned intcan have, 232-1.- See Also:
- Constant Field Values
 
 - 
MINpublic static final UInteger MIN A constant holding the minimum value anunsigned intcan have as UInteger, 0.
 - 
MAXpublic static final UInteger MAX A constant holding the maximum value anunsigned intcan have as UInteger, 232-1.
 
- 
 - 
Method Detail- 
valueOfpublic static UInteger valueOf(String value) throws NumberFormatException Create anunsigned int- Throws:
- NumberFormatException- If- valuedoes not contain a parsable- unsigned int.
 
 - 
valueOfpublic static UInteger valueOf(int value) Create anunsigned intby masking it with0xFFFFFFFFi.e.(int) -1becomes(uint) 4294967295
 - 
valueOfpublic static UInteger valueOf(long value) throws NumberFormatException Create anunsigned int- Throws:
- NumberFormatException- If- valueis not in the range of an- unsigned byte
 
 - 
floatValuepublic float floatValue() - Specified by:
- floatValuein class- Number
 
 - 
doubleValuepublic double doubleValue() - Specified by:
- doubleValuein class- Number
 
 - 
toBigIntegerpublic BigInteger toBigInteger() Description copied from class:UNumberGet this number as aBigInteger. This is a convenience method for callingnew BigInteger(toString())- Overrides:
- toBigIntegerin class- UNumber
 
 - 
compareTopublic int compareTo(UInteger o) - Specified by:
- compareToin interface- Comparable<UInteger>
 
 - 
addpublic UInteger add(int val) 
 - 
subtractpublic UInteger subtract(int val) 
 - 
leftShiftpublic UInteger leftShift(int shiftAmount) 
 - 
inclusiveOrpublic UInteger inclusiveOr(int val) 
 - 
inclusiveOrpublic UInteger inclusiveOr(long val) 
 - 
rightShiftpublic UInteger rightShift(int shiftAmount) 
 - 
xorpublic UInteger xor(int val) 
 - 
xorpublic UInteger xor(long val) 
 
- 
 
-