Package io.usethesource.capsule.core
Class PersistentTrieMap.CompactMapNode<K,V>
java.lang.Object
io.usethesource.capsule.core.PersistentTrieMap.AbstractMapNode<K,V>
io.usethesource.capsule.core.PersistentTrieMap.CompactMapNode<K,V>
- All Implemented Interfaces:
MapNode<K,,V, PersistentTrieMap.AbstractMapNode<K, V>> Node,Serializable
- Direct Known Subclasses:
PersistentTrieMap.CompactMixedMapNode
- Enclosing class:
PersistentTrieMap<K,V>
protected abstract static class PersistentTrieMap.CompactMapNode<K,V>
extends PersistentTrieMap.AbstractMapNode<K,V>
- See Also:
-
Field Summary
Fields inherited from interface io.usethesource.capsule.core.trie.Node
SIZE_EMPTY, SIZE_MORE_THAN_ONE, SIZE_ONE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsKey(K key, int keyHash, int shift, EqualityComparator<Object> cmp) findByKey(K key, int keyHash, int shift, EqualityComparator<Object> cmp) removed(AtomicReference<Thread> mutator, K key, int keyHash, int shift, MapNodeResult<K, V> details, EqualityComparator<Object> cmp) toString()updated(AtomicReference<Thread> mutator, K key, V val, int keyHash, int shift, MapNodeResult<K, V> details, EqualityComparator<Object> cmp) Methods inherited from class io.usethesource.capsule.core.PersistentTrieMap.AbstractMapNode
dataArray, nodeArrayMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.usethesource.capsule.core.trie.MapNode
equivalentMethods inherited from interface io.usethesource.capsule.core.trie.Node
sizePredicate
-
Constructor Details
-
CompactMapNode
protected CompactMapNode()
-
-
Method Details
-
containsKey
-
findByKey
-
updated
public PersistentTrieMap.AbstractMapNode<K,V> updated(AtomicReference<Thread> mutator, K key, V val, int keyHash, int shift, MapNodeResult<K, V> details, EqualityComparator<Object> cmp) -
removed
public PersistentTrieMap.AbstractMapNode<K,V> removed(AtomicReference<Thread> mutator, K key, int keyHash, int shift, MapNodeResult<K, V> details, EqualityComparator<Object> cmp) -
toString
-