public class ContainerList.DelegatingListIterator extends AbstractDelegator.DelegatingIterator implements ListIterator<E>
list iterator
.last
Constructor and Description |
---|
DelegatingListIterator(ListIterator<E> delegate) |
Modifier and Type | Method and Description |
---|---|
void |
add(E o) |
ListIterator<E> |
getDelegate() |
boolean |
hasPrevious() |
int |
nextIndex() |
E |
previous() |
int |
previousIndex() |
void |
set(E o) |
hasNext, next, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasNext, next, remove
forEachRemaining
public DelegatingListIterator(ListIterator<E> delegate)
public ListIterator<E> getDelegate()
getDelegate
in class AbstractDelegator.DelegatingIterator
public void add(E o)
add
in interface ListIterator<E>
public void set(E o)
set
in interface ListIterator<E>
public boolean hasPrevious()
hasPrevious
in interface ListIterator<E>
public int nextIndex()
nextIndex
in interface ListIterator<E>
public E previous()
previous
in interface ListIterator<E>
public int previousIndex()
previousIndex
in interface ListIterator<E>
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html