- java.lang.Object
-
- org.pcollections.KVTree.EntryIterator<K,V>
-
-
Field Summary
Fields Modifier and Type Field Description private booleanisLeftToRightwhether we're iterating from left to right (vs.private KVTree<K,V>nextSubtreenode that we need to enterprivate java.util.ArrayList<KVTree<K,V>>stacknodes that we've recursed into, but not yet returned
-
Constructor Summary
Constructors Constructor Description EntryIterator(KVTree<K,V> tree, boolean isLeftToRight)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private KVTree<K,V>firstChild(KVTree<K,V> node)booleanhasNext()java.util.Map.Entry<K,V>next()private KVTree<K,V>secondChild(KVTree<K,V> node)
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<K>
-
-