Enumeration, IteratorConcurrentReaderHashMap.KeyIterator, ConcurrentReaderHashMap.ValueIteratorprotected 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() |
asIteratorforEachRemainingprotected 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 Enumerationpublic Object nextElement()
nextElement in interface Enumerationprotected Object returnValueOfNext()