Package com.tangosol.util
Class WrapperCollections.AbstractWrapperIterator<E>
java.lang.Object
com.tangosol.util.WrapperCollections.AbstractWrapperIterator<E>
- All Implemented Interfaces:
Iterator<E>
- Direct Known Subclasses:
LocalCache.EntryIterator
,PartitionedCache.EntryIterator
,WrapperCollections.AbstractWrapperListIterator
- Enclosing class:
WrapperCollections
public abstract static class WrapperCollections.AbstractWrapperIterator<E>
extends Object
implements Iterator<E>
Iterator implementation which delegates all calls to another Iterator.
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractWrapperIterator
(Iterator<E> iter) Create an AbstractWrapperIterator which delegates to the specified Iterator. -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
AbstractWrapperIterator
Create an AbstractWrapperIterator which delegates to the specified Iterator.- Parameters:
iter
- the Iterator to delegate all calls to
-
-
Method Details
-
getDelegate
Return the Iterator to which all operations should be delegated to.- Returns:
- the wrapped Iterator
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove() -
equals
-
hashCode
public int hashCode() -
toString
-