Package io.usethesource.capsule.core
Class PersistentTrieSet.CompactMixedSetNode<K>
java.lang.Object
io.usethesource.capsule.core.PersistentTrieSet.AbstractSetNode<K>
io.usethesource.capsule.core.PersistentTrieSet.CompactSetNode<K>
io.usethesource.capsule.core.PersistentTrieSet.CompactMixedSetNode<K>
- All Implemented Interfaces:
Node
,SetNode<K,
,PersistentTrieSet.AbstractSetNode<K>> Serializable
,Iterable<K>
- Direct Known Subclasses:
PersistentTrieSet.BitmapIndexedSetNode
- Enclosing class:
PersistentTrieSet<K>
protected abstract static class PersistentTrieSet.CompactMixedSetNode<K>
extends PersistentTrieSet.CompactSetNode<K>
- See Also:
-
Field Summary
FieldsFields inherited from class io.usethesource.capsule.core.PersistentTrieSet.CompactSetNode
BIT_PARTITION_MASK, BIT_PARTITION_SIZE, HASH_CODE_LENGTH
Fields inherited from class io.usethesource.capsule.core.PersistentTrieSet.AbstractSetNode
TUPLE_LENGTH
Fields inherited from interface io.usethesource.capsule.core.trie.Node
SIZE_EMPTY, SIZE_MORE_THAN_ONE, SIZE_ONE
-
Constructor Summary
ConstructorsConstructorDescriptionCompactMixedSetNode
(AtomicReference<Thread> mutator, int nodeMap, int dataMap) -
Method Summary
Methods inherited from class io.usethesource.capsule.core.PersistentTrieSet.CompactSetNode
bitpos, contains, copyAndInsertValue, copyAndMigrateFromInlineToNode, copyAndMigrateFromNodeToInline, copyAndRemoveValue, copyAndSetNode, dataIndex, findByKey, getNode, index, index, mask, mergeTwoKeyValPairs, nodeAt, nodeIndex, nodeInvariant, nodeOf, nodeOf, nodeOf, nodeOf, nodeOf, recoverMask, removed, toString, updated
Methods inherited from class io.usethesource.capsule.core.PersistentTrieSet.AbstractSetNode
arity, dataArray, getSlot, hasNodes, hasSlots, isAllowedToEdit, iterator, localPayloadHashCode, nodeArity, nodeArray, nodeIterator, recursivePayloadHashCode, size, slotArity, spliterator, stream
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.Node
sizePredicate
Methods inherited from interface io.usethesource.capsule.core.trie.SetNode
equivalent, findFirst, getKey, getKeyHash, getPayload, hasPayload, intersect, payloadArity, subtract, union
-
Field Details
-
nodeMap
private final int nodeMap -
dataMap
private final int dataMap
-
-
Constructor Details
-
CompactMixedSetNode
CompactMixedSetNode(AtomicReference<Thread> mutator, int nodeMap, int dataMap)
-
-
Method Details
-
nodeMap
final int nodeMap()- Specified by:
nodeMap
in classPersistentTrieSet.CompactSetNode<K>
-
dataMap
final int dataMap()- Specified by:
dataMap
in classPersistentTrieSet.CompactSetNode<K>
-