Package io.usethesource.capsule.core
Class PersistentTrieMap.AbstractMapIterator<K,V>
java.lang.Object
io.usethesource.capsule.core.PersistentTrieMap.AbstractMapIterator<K,V>
- Direct Known Subclasses:
PersistentTrieMap.MapEntryIterator,PersistentTrieMap.MapKeyIterator,PersistentTrieMap.MapValueIterator
- Enclosing class:
PersistentTrieMap<K,V>
Iterator skeleton that uses a fixed stack in depth.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprotected intprotected intprotected PersistentTrieMap.AbstractMapNode<K, V> private static final intprivate final int[](package private) PersistentTrieMap.AbstractMapNode<K,V>[] -
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
PersistentTrieMap.AbstractMapNode<K,V>[] nodes
-
-
Constructor Details
-
AbstractMapIterator
AbstractMapIterator(PersistentTrieMap.AbstractMapNode<K, V> rootNode)
-
-
Method Details
-
searchNextValueNode
private boolean searchNextValueNode() -
hasNext
public boolean hasNext() -
remove
public void remove()
-