EDU.oswego.cs.dl.util.concurrent

Class ConcurrentReaderHashMap.HashIterator

protected class ConcurrentReaderHashMap.HashIterator extends Object implements Iterator, Enumeration

Field Summary
protected ObjectcurrentKey
protected ObjectcurrentValue
protected ConcurrentReaderHashMap.Entryentry
protected intindex
protected ConcurrentReaderHashMap.EntrylastReturned
protected ConcurrentReaderHashMap.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 ConcurrentReaderHashMap.Entry entry

index

protected int index

lastReturned

protected ConcurrentReaderHashMap.Entry lastReturned

tab

protected final ConcurrentReaderHashMap.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()