Package EDU.oswego.cs.dl.util.concurrent
Class SyncList.SyncCollectionListIterator
- java.lang.Object
-
- EDU.oswego.cs.dl.util.concurrent.SyncCollection.SyncCollectionIterator
-
- EDU.oswego.cs.dl.util.concurrent.SyncList.SyncCollectionListIterator
-
- All Implemented Interfaces:
Iterator
,ListIterator
- Enclosing class:
- SyncList
public class SyncList.SyncCollectionListIterator extends SyncCollection.SyncCollectionIterator implements ListIterator
-
-
Field Summary
-
Fields inherited from class EDU.oswego.cs.dl.util.concurrent.SyncCollection.SyncCollectionIterator
baseIterator_
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(Object o)
protected ListIterator
baseListIterator()
boolean
hasPrevious()
int
nextIndex()
Object
previous()
int
previousIndex()
void
set(Object o)
-
Methods inherited from class EDU.oswego.cs.dl.util.concurrent.SyncCollection.SyncCollectionIterator
hasNext, next, remove
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Methods inherited from interface java.util.ListIterator
hasNext, next, remove
-
-
-
-
Method Detail
-
baseListIterator
protected ListIterator baseListIterator()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interfaceListIterator
-
previous
public Object previous()
- Specified by:
previous
in interfaceListIterator
-
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interfaceListIterator
-
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interfaceListIterator
-
set
public void set(Object o)
- Specified by:
set
in interfaceListIterator
-
add
public void add(Object o)
- Specified by:
add
in interfaceListIterator
-
-