org.apache.jcs.engine.memory
Class AbstractDoulbeLinkedListMemoryCache.IteratorWrapper

java.lang.Object
  extended by org.apache.jcs.engine.memory.AbstractDoulbeLinkedListMemoryCache.IteratorWrapper
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
AbstractDoulbeLinkedListMemoryCache

public class AbstractDoulbeLinkedListMemoryCache.IteratorWrapper
extends java.lang.Object
implements java.util.Iterator

iteration aid


Method Summary
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
          i.remove();
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator
Returns:
i.hasNext()

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator
Returns:
new MapEntryWrapper( (Map.Entry) i.next() )

remove

public void remove()
i.remove();

Specified by:
remove in interface java.util.Iterator

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object
Parameters:
o -
Returns:
i.equals( o ))

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object
Returns:
i.hashCode()


Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.