Package io.usethesource.capsule.core
Class PersistentTrieSetMultimap.CompactMixedSetMultimapNode<K,V>
- java.lang.Object
-
- io.usethesource.capsule.core.PersistentTrieSetMultimap.AbstractSetMultimapNode<K,V>
-
- io.usethesource.capsule.core.PersistentTrieSetMultimap.CompactSetMultimapNode<K,V>
-
- io.usethesource.capsule.core.PersistentTrieSetMultimap.CompactMixedSetMultimapNode<K,V>
-
- All Implemented Interfaces:
MultimapNode<K,V,Set.Immutable<V>,PersistentTrieSetMultimap.AbstractSetMultimapNode<K,V>>
,Node
,java.io.Serializable
- Direct Known Subclasses:
PersistentTrieSetMultimap.BitmapIndexedSetMultimapNode
- Enclosing class:
- PersistentTrieSetMultimap<K,V>
protected abstract static class PersistentTrieSetMultimap.CompactMixedSetMultimapNode<K,V> extends PersistentTrieSetMultimap.CompactSetMultimapNode<K,V>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private int
rawMap1
private int
rawMap2
-
Fields inherited from class io.usethesource.capsule.core.PersistentTrieSetMultimap.CompactSetMultimapNode
BIT_PARTITION_MASK, BIT_PARTITION_SIZE, EMPTY_NODE, HASH_CODE_LENGTH
-
Fields inherited from class io.usethesource.capsule.core.PersistentTrieSetMultimap.AbstractSetMultimapNode
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 CompactMixedSetMultimapNode(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
bitmap(int category)
(package private) int
collMap()
(package private) int
dataMap()
(package private) int
nodeMap()
int
rawMap1()
int
rawMap2()
-
Methods inherited from class io.usethesource.capsule.core.PersistentTrieSetMultimap.CompactSetMultimapNode
arity, arity, bitpos, canonicalize, collIndex, containsKey, containsTuple, copyAndInsertCollection, copyAndInsertSingleton, copyAndMigrateFromCollectionToNode, copyAndMigrateFromCollectionToSingleton, copyAndMigrateFromNodeToCollection, copyAndMigrateFromNodeToSingleton, copyAndMigrateFromSingletonToCollection, copyAndMigrateFromSingletonToNode, copyAndRemoveCollection, copyAndRemoveSingleton, copyAndSetCollectionValue, copyAndSetNode, copyAndSetSingletonValue, dataIndex, findByKey, getNode, index, index, insertedMultiple, insertedSingle, mask, mergeCollectionAndSingletonPairs, mergeTwoCollectionPairs, mergeTwoSingletonPairs, nodeIndex, nodeInvariant, nodeOf, nodeOf, nodeOf, recoverMask, removed, removed, toString, updated, updatedMultiple, updatedSingle
-
Methods inherited from class io.usethesource.capsule.core.PersistentTrieSetMultimap.AbstractSetMultimapNode
dataArray, getCollectionKey, getCollectionValue, getSingletonKey, getSingletonValue, getSlot, hasNodes, hasPayload, hasSlots, isAllowedToEdit, mustUnbox, nodeArity, nodeArray, nodeIterator, payloadArity, size, slotArity, unbox
-
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.MultimapNode
copyAndUpdateBitmaps, inserted, patternOfSingleton, typeOfSingleton
-
Methods inherited from interface io.usethesource.capsule.core.trie.Node
sizePredicate
-
-
-
-
Method Detail
-
rawMap1
public final int rawMap1()
- Specified by:
rawMap1
in classPersistentTrieSetMultimap.CompactSetMultimapNode<K,V>
-
rawMap2
public final int rawMap2()
- Specified by:
rawMap2
in classPersistentTrieSetMultimap.CompactSetMultimapNode<K,V>
-
bitmap
final int bitmap(int category)
- Specified by:
bitmap
in classPersistentTrieSetMultimap.CompactSetMultimapNode<K,V>
-
dataMap
final int dataMap()
- Specified by:
dataMap
in classPersistentTrieSetMultimap.CompactSetMultimapNode<K,V>
-
collMap
final int collMap()
- Specified by:
collMap
in classPersistentTrieSetMultimap.CompactSetMultimapNode<K,V>
-
nodeMap
final int nodeMap()
- Specified by:
nodeMap
in classPersistentTrieSetMultimap.CompactSetMultimapNode<K,V>
-
-