Package EDU.oswego.cs.dl.util.concurrent
Class ConcurrentHashMap.HashIterator
java.lang.Object
EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap.HashIterator
- All Implemented Interfaces:
Enumeration
,Iterator
- Direct Known Subclasses:
ConcurrentHashMap.KeyIterator
,ConcurrentHashMap.ValueIterator
- Enclosing class:
ConcurrentHashMap
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Object
protected Object
protected ConcurrentHashMap.Entry
protected int
protected ConcurrentHashMap.Entry
protected final ConcurrentHashMap.Entry[]
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Enumeration
asIterator
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
tab
-
index
protected int index -
entry
-
currentKey
-
currentValue
-
lastReturned
-
-
Constructor Details
-
HashIterator
protected HashIterator()
-
-
Method Details
-
hasMoreElements
public boolean hasMoreElements()- Specified by:
hasMoreElements
in interfaceEnumeration
-
nextElement
- Specified by:
nextElement
in interfaceEnumeration
-
hasNext
public boolean hasNext() -
returnValueOfNext
-
next
-
remove
public void remove()
-