Package io.usethesource.capsule.core
Class PersistentTrieSet.AbstractSetIterator<K>
java.lang.Object
io.usethesource.capsule.core.PersistentTrieSet.AbstractSetIterator<K>
- Direct Known Subclasses:
PersistentTrieSet.SetKeyIterator
- Enclosing class:
PersistentTrieSet<K>
Iterator skeleton that uses a fixed stack in depth.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
protected int
protected int
protected PersistentTrieSet.AbstractSetNode
<K> private static final int
private final int[]
(package private) PersistentTrieSet.AbstractSetNode<K>[]
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MAX_DEPTH
private static final int MAX_DEPTH- See Also:
-
currentValueCursor
protected int currentValueCursor -
currentValueLength
protected int currentValueLength -
currentValueNode
-
currentStackLevel
private int currentStackLevel -
nodeCursorsAndLengths
private final int[] nodeCursorsAndLengths -
nodes
PersistentTrieSet.AbstractSetNode<K>[] nodes
-
-
Constructor Details
-
AbstractSetIterator
AbstractSetIterator(PersistentTrieSet.AbstractSetNode<K> rootNode)
-
-
Method Details
-
searchNextValueNode
private boolean searchNextValueNode() -
hasNext
public boolean hasNext() -
remove
public void remove()
-