EDU.oswego.cs.dl.util.concurrent

Class ConcurrentHashMap.HashIterator

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

protected class ConcurrentHashMap.HashIterator
extends Object
implements Iterator, Enumeration

Field Summary

protected Object
currentKey
protected Object
currentValue
protected ConcurrentHashMap.Entry
entry
protected int
index
protected ConcurrentHashMap.Entry
lastReturned
protected ConcurrentHashMap.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 ConcurrentHashMap.Entry entry

index

protected int index

lastReturned

protected ConcurrentHashMap.Entry lastReturned

tab

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