EDU.oswego.cs.dl.util.concurrent

Class ConcurrentHashMap.HashIterator

protected class ConcurrentHashMap.HashIterator extends Object implements Iterator, Enumeration

Field Summary
protected ObjectcurrentKey
protected ObjectcurrentValue
protected ConcurrentHashMap.Entryentry
protected intindex
protected ConcurrentHashMap.EntrylastReturned
protected ConcurrentHashMap.Entry[]tab
Constructor Summary
protected HashIterator()
Method Summary
booleanhasMoreElements()
booleanhasNext()
Objectnext()
ObjectnextElement()
voidremove()
protected ObjectreturnValueOfNext()

Field Detail

currentKey

protected Object currentKey

currentValue

protected Object currentValue

entry

protected ConcurrentHashMap.Entry entry

index

protected int index

lastReturned

protected ConcurrentHashMap.Entry lastReturned

tab

protected final ConcurrentHashMap.Entry[] tab

Constructor Detail

HashIterator

protected HashIterator()

Method Detail

hasMoreElements

public boolean hasMoreElements()

hasNext

public boolean hasNext()

next

public Object next()

nextElement

public Object nextElement()

remove

public void remove()

returnValueOfNext

protected Object returnValueOfNext()