org.eclipse.net4j.util.container.delegate
Class ContainerList.DelegatingListIterator

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

public class ContainerList.DelegatingListIterator
extends AbstractDelegator.DelegatingIterator
implements ListIterator<E>

A delegating list iterator.


Field Summary
 
Fields inherited from class org.eclipse.net4j.util.container.delegate.AbstractDelegator.DelegatingIterator
last
 
Constructor Summary
ContainerList.DelegatingListIterator(ListIterator<E> delegate)
           
 
Method Summary
 void add(E o)
           
 ListIterator<E> getDelegate()
           
 boolean hasPrevious()
           
 int nextIndex()
           
 E previous()
           
 int previousIndex()
           
 void set(E o)
           
 
Methods inherited from class org.eclipse.net4j.util.container.delegate.AbstractDelegator.DelegatingIterator
hasNext, next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.ListIterator
hasNext, next, remove
 

Constructor Detail

ContainerList.DelegatingListIterator

public ContainerList.DelegatingListIterator(ListIterator<E> delegate)
Method Detail

getDelegate

public ListIterator<E> getDelegate()
Overrides:
getDelegate in class AbstractDelegator.DelegatingIterator

add

public void add(E o)
Specified by:
add in interface ListIterator<E>
Category
WRITE

set

public void set(E o)
Specified by:
set in interface ListIterator<E>
Category
WRITE

hasPrevious

public boolean hasPrevious()
Specified by:
hasPrevious in interface ListIterator<E>
Category
READ

nextIndex

public int nextIndex()
Specified by:
nextIndex in interface ListIterator<E>
Category
READ

previous

public E previous()
Specified by:
previous in interface ListIterator<E>
Category
READ

previousIndex

public int previousIndex()
Specified by:
previousIndex in interface ListIterator<E>
Category
READ


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