Class AbstractPatriciaTrie.TrieIterator<E>
java.lang.Object
org.apache.commons.collections4.trie.AbstractPatriciaTrie.TrieIterator<E>
- All Implemented Interfaces:
Iterator<E>
- Direct Known Subclasses:
AbstractPatriciaTrie.EntrySet.EntryIterator
,AbstractPatriciaTrie.KeySet.KeyIterator
,AbstractPatriciaTrie.PrefixRangeEntrySet.EntryIterator
,AbstractPatriciaTrie.RangeEntrySet.EntryIterator
,AbstractPatriciaTrie.TrieMapIterator
,AbstractPatriciaTrie.Values.ValueIterator
- Enclosing class:
AbstractPatriciaTrie<K,
V>
An iterator for the entries.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AbstractPatriciaTrie.TrieEntry
<K, V> protected int
For fast-fail.protected AbstractPatriciaTrie.TrieEntry
<K, V> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Starts iteration from the root.protected
TrieIterator
(AbstractPatriciaTrie.TrieEntry<K, V> firstEntry) Starts iteration at the given entry. -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractPatriciaTrie.TrieEntry
<K, V> findNext
(AbstractPatriciaTrie.TrieEntry<K, V> prior) boolean
hasNext()
protected AbstractPatriciaTrie.TrieEntry
<K, V> Returns the nextAbstractPatriciaTrie.TrieEntry
.void
remove()
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 Details
-
expectedModCount
protected int expectedModCountFor fast-fail. -
next
-
current
-
-
Constructor Details
-
TrieIterator
protected TrieIterator()Starts iteration from the root. -
TrieIterator
Starts iteration at the given entry.
-
-
Method Details