Class AbstractLinkedMap.LinkIterator<K,V>
java.lang.Object
org.apache.commons.collections4.map.AbstractLinkedMap.LinkIterator<K,V>
- Direct Known Subclasses:
AbstractLinkedMap.EntrySetIterator, AbstractLinkedMap.KeySetIterator, AbstractLinkedMap.LinkMapIterator, AbstractLinkedMap.ValuesIterator
- Enclosing class:
AbstractLinkedMap<K,V>
Base Iterator that iterates in link order.
- Since:
- 3.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intThe modification count expectedprotected AbstractLinkedMap.LinkEntry<K, V> The current (last returned) entryprotected AbstractLinkedMap.LinkEntry<K, V> The next entryprotected final AbstractLinkedMap<K, V> The parent map -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractLinkedMap.LinkEntry<K, V> booleanhasNext()booleanprotected AbstractLinkedMap.LinkEntry<K, V> protected AbstractLinkedMap.LinkEntry<K, V> voidremove()voidreset()toString()
-
Field Details
-
parent
The parent map -
last
The current (last returned) entry -
next
The next entry -
expectedModCount
The modification count expected
-
-
Constructor Details
-
LinkIterator
-
-
Method Details
-
hasNext
-
hasPrevious
-
nextEntry
-
previousEntry
-
currentEntry
-
remove
-
reset
-
toString
-