Class Unsigned
- java.lang.Object
- 
- org.apache.tika.parser.microsoft.onenote.fsshttpb.unsigned.Unsigned
 
- 
 public final class Unsigned extends Object A utility class for static access to unsigned number functionality.It essentially contains factory methods for unsigned number wrappers. In future versions, it will also contain some arithmetic methods, handling regular arithmetic and bitwise operations - Author:
- Lukas Eder
 
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static UByteubyte(byte value)Create anunsigned byteby masking it with0xFFi.e.static UByteubyte(int value)Create anunsigned bytestatic UByteubyte(long value)Create anunsigned bytestatic UByteubyte(short value)Create anunsigned bytestatic UByteubyte(String value)Create anunsigned bytestatic UIntegeruint(int value)Create anunsigned intby masking it with0xFFFFFFFFi.e.static UIntegeruint(long value)Create anunsigned intstatic UIntegeruint(String value)Create anunsigned intstatic ULongulong(long value)Create anunsigned longby masking it with0xFFFFFFFFFFFFFFFFi.e.static ULongulong(String value)Create anunsigned longstatic ULongulong(BigInteger value)Create anunsigned longstatic UShortushort(int value)Create anunsigned shortstatic UShortushort(short value)Create anunsigned shortby masking it with0xFFFFi.e.static UShortushort(String value)Create anunsigned short
 
- 
- 
- 
Method Detail- 
ubytepublic static UByte ubyte(String value) throws NumberFormatException Create anunsigned byte- Throws:
- NumberFormatException- If- valuedoes not contain a parsable- unsigned byte.
- See Also:
- UByte.valueOf(String)
 
 - 
ubytepublic static UByte ubyte(byte value) Create anunsigned byteby masking it with0xFFi.e.(byte) -1becomes(ubyte) 255- See Also:
- UByte.valueOf(byte)
 
 - 
ubytepublic static UByte ubyte(short value) throws NumberFormatException Create anunsigned byte- Throws:
- NumberFormatException- If- valueis not in the range of an- unsigned byte
- See Also:
- UByte.valueOf(short)
 
 - 
ubytepublic static UByte ubyte(int value) throws NumberFormatException Create anunsigned byte- Throws:
- NumberFormatException- If- valueis not in the range of an- unsigned byte
- See Also:
- UByte.valueOf(short)
 
 - 
ubytepublic static UByte ubyte(long value) throws NumberFormatException Create anunsigned byte- Throws:
- NumberFormatException- If- valueis not in the range of an- unsigned byte
- See Also:
- UByte.valueOf(short)
 
 - 
ushortpublic static UShort ushort(String value) throws NumberFormatException Create anunsigned short- Throws:
- NumberFormatException- If- valuedoes not contain a parsable- unsigned short.
- See Also:
- UShort.valueOf(String)
 
 - 
ushortpublic static UShort ushort(short value) Create anunsigned shortby masking it with0xFFFFi.e.(short) -1becomes(ushort) 65535- See Also:
- UShort.valueOf(short)
 
 - 
ushortpublic static UShort ushort(int value) throws NumberFormatException Create anunsigned short- Throws:
- NumberFormatException- If- valueis not in the range of an- unsigned short
- See Also:
- UShort.valueOf(int)
 
 - 
uintpublic static UInteger uint(String value) throws NumberFormatException Create anunsigned int- Throws:
- NumberFormatException- If- valuedoes not contain a parsable- unsigned int.
- See Also:
- UInteger.valueOf(String)
 
 - 
uintpublic static UInteger uint(int value) Create anunsigned intby masking it with0xFFFFFFFFi.e.(int) -1becomes(uint) 4294967295- See Also:
- UInteger.valueOf(int)
 
 - 
uintpublic static UInteger uint(long value) throws NumberFormatException Create anunsigned int- Throws:
- NumberFormatException- If- valueis not in the range of an- unsigned int
- See Also:
- UInteger.valueOf(long)
 
 - 
ulongpublic static ULong ulong(String value) throws NumberFormatException Create anunsigned long- Throws:
- NumberFormatException- If- valuedoes not contain a parsable- unsigned long.
- See Also:
- ULong.valueOf(String)
 
 - 
ulongpublic static ULong ulong(long value) Create anunsigned longby masking it with0xFFFFFFFFFFFFFFFFi.e.(long) -1becomes(uint) 18446744073709551615- See Also:
- ULong.valueOf(long)
 
 - 
ulongpublic static ULong ulong(BigInteger value) throws NumberFormatException Create anunsigned long- Throws:
- NumberFormatException- If- valueis not in the range of an- unsigned long
- See Also:
- ULong.valueOf(BigInteger)
 
 
- 
 
-