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.Iterator
protected AbstractHashedMap.HashEntry nextEntry()
protected AbstractHashedMap.HashEntry currentEntry()
public void remove()
remove
in interface java.util.Iterator
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2001-2024 Apache Software Foundation. All Rights Reserved.