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