com.opensymphony.oscache.base.algorithm
Class AbstractConcurrentReadCache.HashIterator

java.lang.Object
  extended by 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


Field Summary
protected  Object currentKey
           
protected  Object currentValue
           
protected  AbstractConcurrentReadCache.Entry entry
           
protected  int index
           
protected  AbstractConcurrentReadCache.Entry lastReturned
           
protected  AbstractConcurrentReadCache.Entry[] tab
           
 
Constructor Summary
protected AbstractConcurrentReadCache.HashIterator()
           
 
Method Summary
 boolean hasMoreElements()
           
 boolean hasNext()
           
 Object next()
           
 Object nextElement()
           
 void remove()
           
protected  Object returnValueOfNext()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

AbstractConcurrentReadCache.HashIterator

protected AbstractConcurrentReadCache.HashIterator()
Method Detail

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()


Copyright © 2011 OpenSymphony. All Rights Reserved.