org.eclipse.net4j.util.container.delegate
Class AbstractDelegator.DelegatingIterator
java.lang.Object
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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
last
protected E last
AbstractDelegator.DelegatingIterator
public AbstractDelegator.DelegatingIterator(Iterator<E> delegate)
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.