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>>
,java.io.Serializable
,java.lang.Iterable<K>
- Direct Known Subclasses:
PersistentTrieSet.BitmapIndexedSetNode
- Enclosing class:
- PersistentTrieSet<K>
protected abstract static class PersistentTrieSet.CompactMixedSetNode<K> extends PersistentTrieSet.CompactSetNode<K>
- 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.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
Constructors Constructor Description CompactMixedSetNode(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 (package private) int
dataMap()
(package private) int
nodeMap()
-
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
-
-
-
-
Method Detail
-
nodeMap
final int nodeMap()
- Specified by:
nodeMap
in classPersistentTrieSet.CompactSetNode<K>
-
dataMap
final int dataMap()
- Specified by:
dataMap
in classPersistentTrieSet.CompactSetNode<K>
-
-