public class ContainerListIterator extends ContainerValueCollectionIterator implements ListIterator
container, currentItem, list, nextItem
Modifier | Constructor and Description |
---|---|
protected |
ContainerListIterator(ListContainerImpl container,
IndexLinkedList list,
IndexItem start) |
Modifier and Type | Method and Description |
---|---|
void |
add(Object o) |
boolean |
hasPrevious() |
int |
nextIndex() |
Object |
previous() |
int |
previousIndex() |
void |
set(Object o) |
hasNext, next, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasNext, next, remove
forEachRemaining
protected ContainerListIterator(ListContainerImpl container, IndexLinkedList list, IndexItem start)
public boolean hasPrevious()
hasPrevious
in interface ListIterator
public Object previous()
previous
in interface ListIterator
public int nextIndex()
nextIndex
in interface ListIterator
public int previousIndex()
previousIndex
in interface ListIterator
public void set(Object o)
set
in interface ListIterator
public void add(Object o)
add
in interface ListIterator
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.