| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final long | |
| private static final int | |
| private static final int | |
| private static final long | |
| private static final int | |
| private static final int | |
| private static final long | |
| private static final int | |
| private static final int | |
| private static final long | |
| private static final int | |
| private static final int | |
| private static final long | |
| private static final int | |
| private static final byte | |
| private static final int | |
| private static final long | |
| private final BigInteger | |
| public static final ZipEightByteInteger |
| Access | Constructor and Description |
|---|---|
| public | ZipEightByteInteger(final BigInteger
the BigInteger to store as a ZipEightByteInteger value)Constructs a new instance from a number. |
| public | ZipEightByteInteger(final byte[]
the bytes to store as a ZipEightByteInteger bytes)Constructs a new instance from bytes. |
| public | ZipEightByteInteger(final byte[]
the bytes to store as a ZipEightByteInteger bytes, final int the offset to start offset)Constructs a new instance from the eight bytes starting at offset. |
| public | ZipEightByteInteger(final long
the long to store as a ZipEightByteInteger value)Constructs a new instance from a number. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the objects are equalan object to compare o)Overrides java. |
| public static byte[] | Returns: value as eight bytes in big-endian byte orderthe value to convert value)Gets value as eight bytes in big-endian byte order. |
| public static byte[] | Returns: value as eight bytes in big-endian byte orderthe value to convert value)Gets value as eight bytes in big-endian byte order. |
| public byte[] | Returns: value as eight bytes in big-endian orderGets value as eight bytes in big-endian byte order. |
| public static long | Returns: the corresponding Java long valuethe array of bytes bytes)Helper method to get the value as a Java long from an eight-byte array |
| public static long | Returns: the corresponding Java long valuethe array of bytes bytes, final int the offset to start offset)Helper method to get the value as a Java long from eight bytes starting at given array offset |
| public long | |
| public static BigInteger | Returns: the corresponding Java BigInteger valuethe array of bytes bytes)Helper method to get the value as a Java long from an eight-byte array |
| public static BigInteger | Returns: the corresponding Java BigInteger valuethe array of bytes bytes, final int the offset to start offset)Helper method to get the value as a Java BigInteger from eight bytes starting at given array offset |
| public BigInteger | |
| public int | Returns: the hash code of the value stored in the ZipEightByteIntegerOverrides java. |
| public String |
| BYTE_1 | back to summary |
|---|---|
| private static final int BYTE_1 | |
| BYTE_1_MASK | back to summary |
|---|---|
| private static final int BYTE_1_MASK | |
| BYTE_1_SHIFT | back to summary |
|---|---|
| private static final int BYTE_1_SHIFT | |
| BYTE_2 | back to summary |
|---|---|
| private static final int BYTE_2 | |
| BYTE_2_MASK | back to summary |
|---|---|
| private static final int BYTE_2_MASK | |
| BYTE_2_SHIFT | back to summary |
|---|---|
| private static final int BYTE_2_SHIFT | |
| BYTE_3 | back to summary |
|---|---|
| private static final int BYTE_3 | |
| BYTE_3_MASK | back to summary |
|---|---|
| private static final long BYTE_3_MASK | |
| BYTE_3_SHIFT | back to summary |
|---|---|
| private static final int BYTE_3_SHIFT | |
| BYTE_4 | back to summary |
|---|---|
| private static final int BYTE_4 | |
| BYTE_4_MASK | back to summary |
|---|---|
| private static final long BYTE_4_MASK | |
| BYTE_4_SHIFT | back to summary |
|---|---|
| private static final int BYTE_4_SHIFT | |
| BYTE_5 | back to summary |
|---|---|
| private static final int BYTE_5 | |
| BYTE_5_MASK | back to summary |
|---|---|
| private static final long BYTE_5_MASK | |
| BYTE_5_SHIFT | back to summary |
|---|---|
| private static final int BYTE_5_SHIFT | |
| BYTE_6 | back to summary |
|---|---|
| private static final int BYTE_6 | |
| BYTE_6_MASK | back to summary |
|---|---|
| private static final long BYTE_6_MASK | |
| BYTE_6_SHIFT | back to summary |
|---|---|
| private static final int BYTE_6_SHIFT | |
| BYTE_7 | back to summary |
|---|---|
| private static final int BYTE_7 | |
| BYTE_7_MASK | back to summary |
|---|---|
| private static final long BYTE_7_MASK | |
| BYTE_7_SHIFT | back to summary |
|---|---|
| private static final int BYTE_7_SHIFT | |
| LEFTMOST_BIT | back to summary |
|---|---|
| private static final byte LEFTMOST_BIT | |
| LEFTMOST_BIT_SHIFT | back to summary |
|---|---|
| private static final int LEFTMOST_BIT_SHIFT | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| value | back to summary |
|---|---|
| private final BigInteger value | |
| ZERO | back to summary |
|---|---|
| public static final ZipEightByteInteger ZERO | |
| ZipEightByteInteger | back to summary |
|---|---|
| public ZipEightByteInteger(final BigInteger value) Constructs a new instance from a number.
| |
| ZipEightByteInteger | back to summary |
|---|---|
| public ZipEightByteInteger(final byte[] bytes) Constructs a new instance from bytes.
| |
| ZipEightByteInteger | back to summary |
|---|---|
| public ZipEightByteInteger(final byte[] bytes, final int offset) Constructs a new instance from the eight bytes starting at offset.
| |
| ZipEightByteInteger | back to summary |
|---|---|
| public ZipEightByteInteger(final long value) Constructs a new instance from a number.
| |
| equals | back to summary |
|---|---|
| public boolean equals(final Object o) Overrides java. Override to make two instances with same value equal. | |
| getBytes | back to summary |
|---|---|
| public static byte[] getBytes(final BigInteger value) Gets value as eight bytes in big-endian byte order.
| |
| getBytes | back to summary |
|---|---|
| public static byte[] getBytes(final long value) Gets value as eight bytes in big-endian byte order.
| |
| getBytes | back to summary |
|---|---|
| public byte[] getBytes() Gets value as eight bytes in big-endian byte order.
| |
| getLongValue | back to summary |
|---|---|
| public static long getLongValue(final byte[] bytes) Helper method to get the value as a Java long from an eight-byte array
| |
| getLongValue | back to summary |
|---|---|
| public static long getLongValue(final byte[] bytes, final int offset) Helper method to get the value as a Java long from eight bytes starting at given array offset
| |
| getLongValue | back to summary |
|---|---|
| public long getLongValue() Gets value as Java long.
| |
| getValue | back to summary |
|---|---|
| public static BigInteger getValue(final byte[] bytes) Helper method to get the value as a Java long from an eight-byte array
| |
| getValue | back to summary |
|---|---|
| public static BigInteger getValue(final byte[] bytes, final int offset) Helper method to get the value as a Java BigInteger from eight bytes starting at given array offset
| |
| getValue | back to summary |
|---|---|
| public BigInteger getValue() Gets value as Java BigInteger.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Override to make two instances with same value equal.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |