Class AbstractPatriciaTrie.TrieIterator<E>
- java.lang.Object
-
- org.apache.commons.collections4.trie.AbstractPatriciaTrie.TrieIterator<E>
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractPatriciaTrie.TrieEntry<K,V>currentprotected intexpectedModCountFor fast-fail.protected AbstractPatriciaTrie.TrieEntry<K,V>next
-
Constructor Summary
Constructors Modifier Constructor Description protectedTrieIterator()Starts iteration from the root.protectedTrieIterator(AbstractPatriciaTrie.TrieEntry<K,V> firstEntry)Starts iteration at the given entry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractPatriciaTrie.TrieEntry<K,V>findNext(AbstractPatriciaTrie.TrieEntry<K,V> prior)booleanhasNext()protected AbstractPatriciaTrie.TrieEntry<K,V>nextEntry()Returns the nextAbstractPatriciaTrie.TrieEntry.voidremove()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, next
-
-
-
-
Field Detail
-
expectedModCount
protected int expectedModCount
For fast-fail.
-
next
protected AbstractPatriciaTrie.TrieEntry<K,V> next
-
current
protected AbstractPatriciaTrie.TrieEntry<K,V> current
-
-
Constructor Detail
-
TrieIterator
protected TrieIterator()
Starts iteration from the root.
-
TrieIterator
protected TrieIterator(AbstractPatriciaTrie.TrieEntry<K,V> firstEntry)
Starts iteration at the given entry.
-
-
Method Detail
-
nextEntry
protected AbstractPatriciaTrie.TrieEntry<K,V> nextEntry()
Returns the nextAbstractPatriciaTrie.TrieEntry.
-
findNext
protected AbstractPatriciaTrie.TrieEntry<K,V> findNext(AbstractPatriciaTrie.TrieEntry<K,V> prior)
-
-