Package io.usethesource.capsule.core
Class PersistentTrieMap.CompactMixedMapNode<K,V>
- java.lang.Object
-
- io.usethesource.capsule.core.PersistentTrieMap.AbstractMapNode<K,V>
-
- io.usethesource.capsule.core.PersistentTrieMap.CompactMapNode<K,V>
-
- io.usethesource.capsule.core.PersistentTrieMap.CompactMixedMapNode<K,V>
-
- All Implemented Interfaces:
MapNode<K,V,PersistentTrieMap.AbstractMapNode<K,V>>
,Node
,java.io.Serializable
- Direct Known Subclasses:
PersistentTrieMap.BitmapIndexedMapNode
- Enclosing class:
- PersistentTrieMap<K,V>
protected abstract static class PersistentTrieMap.CompactMixedMapNode<K,V> extends PersistentTrieMap.CompactMapNode<K,V>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private int
dataMap
private int
nodeMap
-
Fields inherited from class io.usethesource.capsule.core.PersistentTrieMap.CompactMapNode
BIT_PARTITION_MASK, BIT_PARTITION_SIZE, HASH_CODE_LENGTH
-
Fields inherited from class io.usethesource.capsule.core.PersistentTrieMap.AbstractMapNode
TUPLE_LENGTH
-
Fields inherited from interface io.usethesource.capsule.core.trie.Node
SIZE_EMPTY, SIZE_MORE_THAN_ONE, SIZE_ONE
-
-
Constructor Summary
Constructors Constructor Description CompactMixedMapNode(java.util.concurrent.atomic.AtomicReference<java.lang.Thread> mutator, int nodeMap, int dataMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
dataMap()
int
nodeMap()
-
Methods inherited from class io.usethesource.capsule.core.PersistentTrieMap.CompactMapNode
bitpos, containsKey, copyAndInsertValue, copyAndMigrateFromInlineToNode, copyAndMigrateFromNodeToInline, copyAndRemoveValue, copyAndSetNode, copyAndSetValue, dataIndex, findByKey, getNode, index, index, mask, mergeTwoKeyValPairs, nodeAt, nodeIndex, nodeInvariant, nodeOf, nodeOf, nodeOf, recoverMask, removed, toString, updated
-
Methods inherited from class io.usethesource.capsule.core.PersistentTrieMap.AbstractMapNode
arity, dataArray, getKey, getKeyValueEntry, getSlot, getValue, hasNodes, hasPayload, hasSlots, isAllowedToEdit, nodeArity, nodeArray, nodeIterator, payloadArity, size, slotArity
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.usethesource.capsule.core.trie.MapNode
equivalent
-
Methods inherited from interface io.usethesource.capsule.core.trie.Node
sizePredicate
-
-
-
-
Method Detail
-
nodeMap
public int nodeMap()
- Specified by:
nodeMap
in classPersistentTrieMap.CompactMapNode<K,V>
-
dataMap
public int dataMap()
- Specified by:
dataMap
in classPersistentTrieMap.CompactMapNode<K,V>
-
-