org.eclipse.net4j.util.container.delegate
Class AbstractDelegator.DelegatingIterator

java.lang.Object
  extended by org.eclipse.net4j.util.container.delegate.AbstractDelegator.DelegatingIterator
All Implemented Interfaces:
Iterator<E>
Direct Known Subclasses:
ContainerList.DelegatingListIterator
Enclosing class:
AbstractDelegator<E>

public class AbstractDelegator.DelegatingIterator
extends Object
implements Iterator<E>

A delegating iterator.


Field Summary
protected  E last
           
 
Constructor Summary
AbstractDelegator.DelegatingIterator(Iterator<E> delegate)
           
 
Method Summary
 Iterator<E> getDelegate()
           
 boolean hasNext()
           
 E next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

last

protected E last
Constructor Detail

AbstractDelegator.DelegatingIterator

public AbstractDelegator.DelegatingIterator(Iterator<E> delegate)
Method Detail

getDelegate

public Iterator<E> getDelegate()

hasNext

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

next

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

remove

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


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.