org.cdlib.xtf.cache
Class Cache.NullIterator

Object
  extended by Cache.NullIterator
All Implemented Interfaces:
Iterator
Enclosing class:
Cache<K,V>

protected class Cache.NullIterator
extends Object
implements Iterator

Used to return an iterator that does nothing


Constructor Summary
protected Cache.NullIterator()
           
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cache.NullIterator

protected Cache.NullIterator()
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator