Class AbstractHashedMap.HashIterator<K,V>
java.lang.Object
org.apache.commons.collections4.map.AbstractHashedMap.HashIterator<K,V>
- Type Parameters:
K
- the type of the keys in the mapV
- the type of the values in the map
- Direct Known Subclasses:
AbstractHashedMap.EntrySetIterator
,AbstractHashedMap.HashMapIterator
,AbstractHashedMap.KeySetIterator
,AbstractHashedMap.ValuesIterator
- Enclosing class:
AbstractHashedMap<K,
V>
Base Iterator.
-
Constructor Summary
ModifierConstructorDescriptionprotected
HashIterator
(AbstractHashedMap<K, V> parent) Constructs a new instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractHashedMap.HashEntry
<K, V> Gets the current entry.boolean
hasNext()
Tests whether there is a next entry.protected AbstractHashedMap.HashEntry
<K, V> Gets the next entry.void
remove()
Removes the current element.toString()
-
Constructor Details
-
HashIterator
Constructs a new instance.- Parameters:
parent
- The parent AbstractHashedMap.
-
-
Method Details