Enumeration
, Iterator
ConcurrentReaderHashMap.KeyIterator
, ConcurrentReaderHashMap.ValueIterator
protected class ConcurrentReaderHashMap.HashIterator extends Object implements Iterator, Enumeration
Modifier and Type | Field | Description |
---|---|---|
protected Object |
currentKey |
|
protected Object |
currentValue |
|
protected ConcurrentReaderHashMap.Entry |
entry |
|
protected int |
index |
|
protected ConcurrentReaderHashMap.Entry |
lastReturned |
|
protected ConcurrentReaderHashMap.Entry[] |
tab |
Modifier | Constructor | Description |
---|---|---|
protected |
HashIterator() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
hasMoreElements() |
|
boolean |
hasNext() |
|
Object |
next() |
|
Object |
nextElement() |
|
void |
remove() |
|
protected Object |
returnValueOfNext() |
asIterator
forEachRemaining
protected final ConcurrentReaderHashMap.Entry[] tab
protected int index
protected ConcurrentReaderHashMap.Entry entry
protected Object currentKey
protected Object currentValue
protected ConcurrentReaderHashMap.Entry lastReturned
public boolean hasMoreElements()
hasMoreElements
in interface Enumeration
public Object nextElement()
nextElement
in interface Enumeration
protected Object returnValueOfNext()