protected abstract static class AbstractHashedMap.HashIterator extends Object implements Iterator
Modifier and Type | Field and Description |
---|---|
protected int |
expectedModCount
The modification count expected
|
protected int |
hashIndex
The current index into the array of buckets
|
protected AbstractHashedMap.HashEntry |
last
The last returned entry
|
protected AbstractHashedMap.HashEntry |
next
The next entry
|
protected AbstractHashedMap |
parent
The parent map
|
Modifier | Constructor and Description |
---|---|
protected |
HashIterator(AbstractHashedMap parent)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractHashedMap.HashEntry |
currentEntry()
Current entry.
|
boolean |
hasNext() |
protected AbstractHashedMap.HashEntry |
nextEntry()
Next entry.
|
void |
remove() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEachRemaining, next
protected final AbstractHashedMap parent
protected int hashIndex
protected AbstractHashedMap.HashEntry last
protected AbstractHashedMap.HashEntry next
protected int expectedModCount
protected HashIterator(AbstractHashedMap parent)
parent
- parent mapprotected AbstractHashedMap.HashEntry nextEntry()
protected AbstractHashedMap.HashEntry currentEntry()