EDU.oswego.cs.dl.util.concurrent

Class ConcurrentReaderHashMap.HashIterator

Enclosing Class:
ConcurrentReaderHashMap
Implemented Interfaces:
Enumeration, Iterator
Known Direct Subclasses:
ConcurrentReaderHashMap.KeyIterator, ConcurrentReaderHashMap.ValueIterator

protected class ConcurrentReaderHashMap.HashIterator
extends Object
implements Iterator, Enumeration

Field Summary

protected Object
currentKey
protected Object
currentValue
protected ConcurrentReaderHashMap.Entry
entry
protected int
index
protected ConcurrentReaderHashMap.Entry
lastReturned
protected ConcurrentReaderHashMap.Entry[]
tab

Constructor Summary

HashIterator()

Method Summary

boolean
hasMoreElements()
boolean
hasNext()
Object
next()
Object
nextElement()
void
remove()
protected Object
returnValueOfNext()

Field Details

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 Details

HashIterator

protected HashIterator()

Method Details

hasMoreElements

public boolean hasMoreElements()

hasNext

public boolean hasNext()

next

public Object next()

nextElement

public Object nextElement()

remove

public void remove()

returnValueOfNext

protected Object returnValueOfNext()