protected abstract static class AbstractHashedMap.HashIterator
extends java.lang.Object
implements java.util.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) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractHashedMap.HashEntry |
currentEntry() |
boolean |
hasNext() |
protected AbstractHashedMap.HashEntry |
nextEntry() |
void |
remove() |
java.lang.String |
toString() |
protected final AbstractHashedMap parent
protected int hashIndex
protected AbstractHashedMap.HashEntry last
protected AbstractHashedMap.HashEntry next
protected int expectedModCount
protected HashIterator(AbstractHashedMap parent)
public boolean hasNext()
hasNext in interface java.util.Iteratorprotected AbstractHashedMap.HashEntry nextEntry()
protected AbstractHashedMap.HashEntry currentEntry()
public void remove()
remove in interface java.util.Iteratorpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2001-2025 Apache Software Foundation. All Rights Reserved.