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 intrawMap1private intrawMap2-
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) intbitmap(int category)(package private) intcollMap()(package private) intdataMap()(package private) intnodeMap()intrawMap1()intrawMap2()-
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:
rawMap1in classPersistentTrieSetMultimap.CompactSetMultimapNode<K,V>
-
rawMap2
public final int rawMap2()
- Specified by:
rawMap2in classPersistentTrieSetMultimap.CompactSetMultimapNode<K,V>
-
bitmap
final int bitmap(int category)
- Specified by:
bitmapin classPersistentTrieSetMultimap.CompactSetMultimapNode<K,V>
-
dataMap
final int dataMap()
- Specified by:
dataMapin classPersistentTrieSetMultimap.CompactSetMultimapNode<K,V>
-
collMap
final int collMap()
- Specified by:
collMapin classPersistentTrieSetMultimap.CompactSetMultimapNode<K,V>
-
nodeMap
final int nodeMap()
- Specified by:
nodeMapin classPersistentTrieSetMultimap.CompactSetMultimapNode<K,V>
-
-