EDU.oswego.cs.dl.util.concurrent
Class CopyOnWriteArrayList.COWSubList.COWSubListIterator
java.lang.Object
EDU.oswego.cs.dl.util.concurrent.CopyOnWriteArrayList.COWSubList.COWSubListIterator
- All Implemented Interfaces:
- Iterator, ListIterator
- Enclosing class:
- CopyOnWriteArrayList.COWSubList
- protected class CopyOnWriteArrayList.COWSubList.COWSubListIterator
- extends Object
- implements ListIterator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
i
protected final ListIterator i
index
protected final int index
CopyOnWriteArrayList.COWSubList.COWSubListIterator
protected CopyOnWriteArrayList.COWSubList.COWSubListIterator(int index)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface ListIterator
next
public Object next()
- Specified by:
next
in interface ListIterator
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interface ListIterator
previous
public Object previous()
- Specified by:
previous
in interface ListIterator
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interface ListIterator
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interface ListIterator
remove
public void remove()
- Specified by:
remove
in interface ListIterator
set
public void set(Object o)
- Specified by:
set
in interface ListIterator
add
public void add(Object o)
- Specified by:
add
in interface ListIterator