public class AbstractListIteratorDecorator<E>
extends java.lang.Object
implements java.util.ListIterator<E>
All methods are forwarded to the decorated list iterator.
| Constructor and Description |
|---|
AbstractListIteratorDecorator(java.util.ListIterator<E> iterator)
Constructor that decorates the specified iterator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(E obj) |
boolean |
hasNext() |
boolean |
hasPrevious() |
E |
next() |
int |
nextIndex() |
E |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(E obj) |
public AbstractListIteratorDecorator(java.util.ListIterator<E> iterator)
iterator - the iterator to decorate, must not be nulljava.lang.NullPointerException - if the iterator is nullpublic boolean hasNext()
public E next()
public int nextIndex()
nextIndex in interface java.util.ListIterator<E>public boolean hasPrevious()
hasPrevious in interface java.util.ListIterator<E>public int previousIndex()
previousIndex in interface java.util.ListIterator<E>public void remove()
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"