private class ItemResultList.ResultListListIterator<T extends BasicItem> extends Object implements ListIterator<T>
ItemResultList.listIterator()
method.Modifier and Type | Field and Description |
---|---|
private Class<T> |
itemClass |
private ListIterator<? extends BasicData> |
iterator |
Modifier | Constructor and Description |
---|---|
private |
ResultListListIterator(ListIterator<? extends BasicData> iterator,
Class<T> itemClass) |
Modifier and Type | Method and Description |
---|---|
void |
add(T o)
This operation is not supported.
|
boolean |
hasNext() |
boolean |
hasPrevious() |
T |
next() |
int |
nextIndex() |
T |
previous() |
int |
previousIndex() |
void |
remove()
This operation is not supported.
|
void |
set(T o)
This operation is not supported.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
private final ListIterator<? extends BasicData> iterator
private ResultListListIterator(ListIterator<? extends BasicData> iterator, Class<T> itemClass)
public void add(T o)
add
in interface ListIterator<T extends BasicItem>
UnsupportedOperationException
- Alwayspublic boolean hasNext()
public boolean hasPrevious()
hasPrevious
in interface ListIterator<T extends BasicItem>
public T next()
public int nextIndex()
nextIndex
in interface ListIterator<T extends BasicItem>
public T previous()
previous
in interface ListIterator<T extends BasicItem>
public int previousIndex()
previousIndex
in interface ListIterator<T extends BasicItem>
public void remove()
remove
in interface Iterator<T extends BasicItem>
remove
in interface ListIterator<T extends BasicItem>
UnsupportedOperationException
- Alwayspublic void set(T o)
set
in interface ListIterator<T extends BasicItem>
UnsupportedOperationException
- Always