| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final VersionedValueType. | |
| private final DataType |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(VersionedValue<T>
the first key a, VersionedValue<T> the second key b)Overrides org. Implements org. Compare two keys. |
| public VersionedValue | createStorage(int
number of values to hold size)Implements org. Create storage object of array type to hold values |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides org. Implements java. Indicates whether some other object is "equal to" this comparator. |
| public VersionedValueType. | |
| public int | getMemory(VersionedValue<T>
the object v)Implements abstract org. Implements org. Calculates the amount of used memory in bytes. |
| private int | |
| public int | hashCode()
Overrides org. Returns a hash code value for this object. |
| public void | read(ByteBuffer
the target buffer buff, Object the objects storage, int the number of objects to read len)Overrides org. Implements org. Read a list of objects. |
| public VersionedValue | read(ByteBuffer
the source buffer buff)Implements abstract org. Implements org. Read an object. |
| public void | save(WriteBuffer
the target buffer buff, MetaType<D> the meta type metaType)Implements org. Save the state. |
| public void | write(WriteBuffer
the target buffer buff, Object the objects storage, int the number of objects to write len)Overrides org. Implements org. Write a list of objects. |
| public void | write(WriteBuffer
the target buffer buff, VersionedValue<T> the value v)Implements abstract org. Implements org. Write an object. |
| factory | back to summary |
|---|---|
| private final VersionedValueType. | |
| valueType | back to summary |
|---|---|
| private final DataType<T> valueType | |
| VersionedValueType | back to summary |
|---|---|
| public VersionedValueType(DataType<T> valueType) | |
| compare | back to summary |
|---|---|
| public int compare(VersionedValue<T> a, VersionedValue<T> b) Overrides org. Implements org. Doc from org. Compare two keys.
| |
| createStorage | back to summary |
|---|---|
| public VersionedValue Implements org. Doc from org. Create storage object of array type to hold values
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides org. Implements java. Doc from java. Indicates whether some other object is "equal to"
this comparator. This method must obey the general contract of
Note that it is always safe not to override
| |
| getFactory | back to summary |
|---|---|
| public VersionedValueType. Implements org.
| |
| getMemory | back to summary |
|---|---|
| public int getMemory(VersionedValue<T> v) Implements abstract org. Implements org. Doc from org. Calculates the amount of used memory in bytes.
| |
| getValMemory | back to summary |
|---|---|
| private int getValMemory(T obj) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| read | back to summary |
|---|---|
| public void read(ByteBuffer buff, Object storage, int len) Overrides org. Implements org. Doc from org. Read a list of objects.
| |
| read | back to summary |
|---|---|
| public VersionedValue Implements abstract org. Implements org. Doc from org. Read an object.
| |
| save | back to summary |
|---|---|
| public void save(WriteBuffer buff, MetaType<D> metaType) Implements org. Doc from org. Save the state.
| |
| write | back to summary |
|---|---|
| public void write(WriteBuffer buff, Object storage, int len) Overrides org. Implements org. Doc from org. Write a list of objects.
| |
| write | back to summary |
|---|---|
| public void write(WriteBuffer buff, VersionedValue<T> v) Implements abstract org. Implements org. Doc from org. Write an object.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public DataType | create(ByteBuffer
the buffer the source buffer buff, MetaType<D> the type metaType, D the database database)Implements org. Reads the data type. |
| Factory | back to summary |
|---|---|
| public Factory() | |
| create | back to summary |
|---|---|
| public DataType Implements org. Doc from org. Reads the data type.
| |