public class DelegatingResultList.DelegatingListIterator<T> extends Object implements ListIterator<T>
Constructor and Description |
---|
DelegatingListIterator(ListIterator<T> it)
Constructor; supply delegate.
|
Modifier and Type | Method and Description |
---|---|
void |
add(T o) |
boolean |
equals(Object other) |
ListIterator<T> |
getDelegate()
Return the direct delegate.
|
ListIterator<T> |
getInnermostDelegate()
Return the native delegate.
|
int |
hashCode() |
boolean |
hasNext() |
boolean |
hasPrevious() |
T |
next() |
int |
nextIndex() |
T |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(T o) |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public DelegatingListIterator(ListIterator<T> it)
public ListIterator<T> getDelegate()
public ListIterator<T> getInnermostDelegate()
public boolean hasNext()
public T next()
public boolean hasPrevious()
hasPrevious
in interface ListIterator<T>
public T previous()
previous
in interface ListIterator<T>
public int nextIndex()
nextIndex
in interface ListIterator<T>
public int previousIndex()
previousIndex
in interface ListIterator<T>
public void remove()
public void set(T o)
set
in interface ListIterator<T>
public void add(T o)
add
in interface ListIterator<T>
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.