public class LongKeyObjectValueTable<VALUE> extends LongKeyTable<VALUE>
| Constructor and Description |
|---|
LongKeyObjectValueTable(int capacity) |
| Modifier and Type | Method and Description |
|---|---|
long |
move(int fromIndex,
int toIndex)
Moves the key/value from one index to another, any hop bits stay.
|
void |
put(int index,
long key,
VALUE value)
Puts (key/value) at the given
index. |
VALUE |
putValue(int index,
VALUE value)
Puts, actually overwrites, the value at the given
index. |
VALUE |
remove(int index)
Removes the currently assigned key/value from the given
index. |
VALUE |
value(int index)
OPTIONAL operation.
|
keyclear, hopBits, moveHopBit, putHopBit, removeHopBitpublic VALUE value(int index)
Tablenull if unsupported.public void put(int index,
long key,
VALUE value)
Tableindex. This index must contractually be free at the point where the
algorithm calls this method.public VALUE putValue(int index, VALUE value)
Tableindex. This index will contractually be occupied
at the point where the algorithm calls this method. This new value
replaces the existing value at this index.public long move(int fromIndex,
int toIndex)
TablefromIndex followed by a put at toIndex. After this method has been called there will no longer
be any key/value assigned at fromIndex.Copyright © 2002–2017 The Neo4j Graph Database Project. All rights reserved.