jodd.cache
Class CacheValuesIterator<V>

java.lang.Object
  extended by jodd.cache.CacheValuesIterator<V>
All Implemented Interfaces:
java.util.Iterator<V>

public class CacheValuesIterator<V>
extends java.lang.Object
implements java.util.Iterator<V>

Values iterator for AbstractCacheMap.


Method Summary
 boolean hasNext()
          Returns true if there are more elements in the cache.
 V next()
          Returns next non-expired element from the cache.
 void remove()
          Removes current non-expired element from the cache.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasNext

public boolean hasNext()
Returns true if there are more elements in the cache.

Specified by:
hasNext in interface java.util.Iterator<V>

next

public V next()
Returns next non-expired element from the cache.

Specified by:
next in interface java.util.Iterator<V>

remove

public void remove()
Removes current non-expired element from the cache.

Specified by:
remove in interface java.util.Iterator<V>


Copyright © 2003-2012 Jodd Team