Package io.usethesource.capsule.core
Class PersistentTrieSet.AbstractSetNode<K>
java.lang.Object
io.usethesource.capsule.core.PersistentTrieSet.AbstractSetNode<K>
- All Implemented Interfaces:
Node,SetNode<K,,PersistentTrieSet.AbstractSetNode<K>> Serializable,Iterable<K>
- Direct Known Subclasses:
PersistentTrieSet.CompactSetNode
- Enclosing class:
PersistentTrieSet<K>
protected abstract static class PersistentTrieSet.AbstractSetNode<K>
extends Object
implements SetNode<K,PersistentTrieSet.AbstractSetNode<K>>, Iterable<K>, Serializable
- 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.usethesource.capsule.core.trie.Node
sizePredicateMethods inherited from interface io.usethesource.capsule.core.trie.SetNode
contains, equivalent, findByKey, findFirst, getKey, getKeyHash, getPayload, hasPayload, intersect, payloadArity, removed, subtract, union, updated
-
Constructor Details
-
AbstractSetNode
protected AbstractSetNode()
-
-
Method Details
-
dataArray
Description copied from interface:NodeCreates an array abstraction for a subset of data stored in a node. -
nodeArray
-
size
public int size()- Specified by:
sizein interfaceSetNode<K,PersistentTrieSet.AbstractSetNode<K>>
-
recursivePayloadHashCode
public int recursivePayloadHashCode()- Specified by:
recursivePayloadHashCodein interfaceSetNode<K,PersistentTrieSet.AbstractSetNode<K>>
-
iterator
-
spliterator
- Specified by:
spliteratorin interfaceIterable<K>
-
stream
-