Package io.usethesource.capsule.core
Class PersistentTrieSet.CompactSetNode<K>
java.lang.Object
io.usethesource.capsule.core.PersistentTrieSet.AbstractSetNode<K>
io.usethesource.capsule.core.PersistentTrieSet.CompactSetNode<K>
- All Implemented Interfaces:
Node,SetNode<K,,PersistentTrieSet.AbstractSetNode<K>> Serializable,Iterable<K>
- Direct Known Subclasses:
PersistentTrieSet.CompactMixedSetNode
- Enclosing class:
PersistentTrieSet<K>
protected abstract static class PersistentTrieSet.CompactSetNode<K>
extends PersistentTrieSet.AbstractSetNode<K>
- 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 TypeMethodDescriptionbooleancontains(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, SetNodeResult<K> details, EqualityComparator<Object> cmp) toString()updated(AtomicReference<Thread> mutator, K key, int keyHash, int shift, SetNodeResult<K> details, EqualityComparator<Object> cmp) Methods inherited from class io.usethesource.capsule.core.PersistentTrieSet.AbstractSetNode
dataArray, iterator, nodeArray, recursivePayloadHashCode, size, spliterator, streamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.usethesource.capsule.core.trie.Node
sizePredicateMethods inherited from interface io.usethesource.capsule.core.trie.SetNode
equivalent, findFirst, getKey, getKeyHash, getPayload, hasPayload, intersect, payloadArity, subtract, union
-
Constructor Details
-
CompactSetNode
protected CompactSetNode()
-
-
Method Details
-
contains
-
findByKey
-
updated
public PersistentTrieSet.AbstractSetNode<K> updated(AtomicReference<Thread> mutator, K key, int keyHash, int shift, SetNodeResult<K> details, EqualityComparator<Object> cmp) -
removed
public PersistentTrieSet.AbstractSetNode<K> removed(AtomicReference<Thread> mutator, K key, int keyHash, int shift, SetNodeResult<K> details, EqualityComparator<Object> cmp) -
toString
-