Class AbstractHashedMap.HashIterator
java.lang.Object
com.espertech.esper.common.internal.collection.apachecommons.AbstractHashedMap.HashIterator
- All Implemented Interfaces:
Iterator
- Direct Known Subclasses:
AbstractHashedMap.EntrySetIterator
,AbstractHashedMap.HashMapIterator
,AbstractHashedMap.ValuesIterator
- Enclosing class:
- AbstractHashedMap
Base Iterator
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
The modification count expectedprotected int
The current index into the array of bucketsprotected AbstractHashedMap.HashEntry
The last returned entryprotected AbstractHashedMap.HashEntry
The next entryprotected final AbstractHashedMap
The parent map -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractHashedMap.HashEntry
Current entry.boolean
hasNext()
protected AbstractHashedMap.HashEntry
Next entry.void
remove()
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, next
-
Field Details
-
parent
The parent map -
hashIndex
protected int hashIndexThe current index into the array of buckets -
last
The last returned entry -
next
The next entry -
expectedModCount
protected int expectedModCountThe modification count expected
-
-
Constructor Details
-
HashIterator
Ctor.- Parameters:
parent
- parent map
-
-
Method Details