com.opensymphony.oscache.base.algorithm
Class AbstractConcurrentReadCache.HashIterator
java.lang.Object
com.opensymphony.oscache.base.algorithm.AbstractConcurrentReadCache.HashIterator
- All Implemented Interfaces:
- Enumeration, Iterator
- Direct Known Subclasses:
- AbstractConcurrentReadCache.KeyIterator, AbstractConcurrentReadCache.ValueIterator
- Enclosing class:
- AbstractConcurrentReadCache
- protected class AbstractConcurrentReadCache.HashIterator
- extends Object
- implements Iterator, Enumeration
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tab
protected final AbstractConcurrentReadCache.Entry[] tab
entry
protected AbstractConcurrentReadCache.Entry entry
lastReturned
protected AbstractConcurrentReadCache.Entry lastReturned
currentKey
protected Object currentKey
currentValue
protected Object currentValue
index
protected int index
AbstractConcurrentReadCache.HashIterator
protected AbstractConcurrentReadCache.HashIterator()
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements
in interface Enumeration
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator
next
public Object next()
- Specified by:
next
in interface Iterator
nextElement
public Object nextElement()
- Specified by:
nextElement
in interface Enumeration
remove
public void remove()
- Specified by:
remove
in interface Iterator
returnValueOfNext
protected Object returnValueOfNext()