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 map
- V- 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.
- Since:
- 3.0
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedHashIterator(AbstractHashedMap<K, V> parent) Constructs a new instance.
- 
Method SummaryModifier and TypeMethodDescriptionprotected AbstractHashedMap.HashEntry<K, V> Gets the current entry.booleanhasNext()Tests whether there is a next entry.protected AbstractHashedMap.HashEntry<K, V> Gets the next entry.voidremove()Removes the current element.toString()
- 
Constructor Details- 
HashIteratorConstructs a new instance.- Parameters:
- parent- The parent AbstractHashedMap.
 
 
- 
- 
Method Details- 
currentEntryGets the current entry.- Returns:
- the current entry.
 
- 
hasNextTests whether there is a next entry.- Returns:
- whether there is a next entry.
 
- 
nextEntryGets the next entry.- Returns:
- the next entry.
 
- 
removeRemoves the current element.
- 
toString
 
-