| Modifier and Type | Class and Description |
|---|---|
| pack-priv abstract static class | |
| pack-priv static class | ObjectDataType.
The type for BigDecimal objects. |
| pack-priv static class | ObjectDataType.
The type for BigInteger objects. |
| pack-priv static class | ObjectDataType.
The type for boolean true and false. |
| pack-priv static class | ObjectDataType.
The type for byte objects. |
| pack-priv static class | ObjectDataType.
The type for character objects. |
| pack-priv static class | ObjectDataType.
The type for java.util.Date objects. |
| pack-priv static class | ObjectDataType.
The type for double objects. |
| pack-priv static class | ObjectDataType.
The type for float objects. |
| private static class | |
| pack-priv static class | ObjectDataType.
The type for integer objects. |
| pack-priv static class | ObjectDataType.
The type for long objects. |
| pack-priv static class | ObjectDataType.
The type for the null value |
| pack-priv static class | ObjectDataType.
The type for object arrays. |
| pack-priv static class | ObjectDataType.
The type for serialized objects. |
| pack-priv static class | ObjectDataType.
The type for short objects. |
| pack-priv static class | ObjectDataType.
The type for string objects. |
| pack-priv static class | ObjectDataType.
The type for UUID objects. |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final Class | |
| pack-priv static final long | |
| pack-priv static final long | |
| pack-priv static final int | |
| pack-priv static final int | FLOAT_ZERO_BITS
Constants for floating point synchronization. |
| private ObjectDataType. | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | TAG_BOOLEAN_TRUE
For very common values (e.g. 0 and 1) we save space by encoding the value in the tag. |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | TAG_INTEGER_0_15
For small-values/small-arrays, we encode the value/array-length in the tag. |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | TYPE_NULL
The type constants are also used as tag values. |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(Object
the first key a, Object the second key b)Overrides org. Implements org. Compare two keys. |
| public static int | Returns: the result of the comparison (-1, 1 or 0)the first byte array (must not be null) data1, byte[] the second byte array (must not be null) data2)Compare the contents of two byte arrays. |
| public Object[] | createStorage(int
number of values to hold size)Implements org. Create storage object of array type to hold values |
| public static Object | |
| public int | getMemory(Object
the object obj)Implements abstract org. Implements org. Calculates the amount of used memory in bytes. |
| private static int | |
| pack-priv static boolean | |
| pack-priv static boolean | |
| pack-priv static boolean | |
| pack-priv static boolean | |
| private ObjectDataType. | |
| public Object | read(ByteBuffer
the source buffer buff)Implements abstract org. Implements org. Read an object. |
| private ObjectDataType. | |
| public static byte[] | |
| pack-priv ObjectDataType. | Returns: the auto-detected type usedthe object obj)Switch the last remembered type to match the type of the given object. |
| public void | write(WriteBuffer
the target buffer buff, Object the value obj)Implements abstract org. Implements org. Write an object. |