com.caucho.server.distcache
Class CacheImpl.CacheEntrySetIterator<K,V>

java.lang.Object
  extended by com.caucho.server.distcache.CacheImpl.CacheEntrySetIterator<K,V>
All Implemented Interfaces:
java.util.Iterator<Cache.Entry<K,V>>
Enclosing class:
CacheImpl

protected static class CacheImpl.CacheEntrySetIterator<K,V>
extends java.lang.Object
implements java.util.Iterator<Cache.Entry<K,V>>

Provides an iterator over the entries in the the local cache.


Constructor Summary
protected CacheImpl.CacheEntrySetIterator(LruCache<K,V> lruCache)
           
 
Method Summary
 boolean hasNext()
           
 Cache.Entry<K,V> next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheImpl.CacheEntrySetIterator

protected CacheImpl.CacheEntrySetIterator(LruCache<K,V> lruCache)
Method Detail

next

public Cache.Entry<K,V> next()
Specified by:
next in interface java.util.Iterator<Cache.Entry<K,V>>

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<Cache.Entry<K,V>>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<Cache.Entry<K,V>>