org.decisiondeck.utils.collections
Class AbstractIterator<E>

java.lang.Object
  extended by org.decisiondeck.utils.collections.AbstractIterator<E>
All Implemented Interfaces:
Iterator<E>

public abstract class AbstractIterator<E>
extends Object
implements Iterator<E>


Constructor Summary
AbstractIterator(Iterator<E> delegateIterator)
           
 
Method Summary
 Iterator<E> getDelegate()
           
 boolean hasNext()
           
 E next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractIterator

public AbstractIterator(Iterator<E> delegateIterator)
Parameters:
delegateIterator - not null.
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<E>

next

public E next()
Specified by:
next in interface Iterator<E>

remove

public void remove()
Specified by:
remove in interface Iterator<E>

getDelegate

public Iterator<E> getDelegate()


Copyright © 2011. All Rights Reserved.