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:
java.util.Iterator
,java.util.ListIterator
- Enclosing class:
- SyncList
public class SyncList.SyncCollectionListIterator extends SyncCollection.SyncCollectionIterator implements java.util.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(java.lang.Object o)
protected java.util.ListIterator
baseListIterator()
boolean
hasPrevious()
int
nextIndex()
java.lang.Object
previous()
int
previousIndex()
void
set(java.lang.Object o)
-
Methods inherited from class EDU.oswego.cs.dl.util.concurrent.SyncCollection.SyncCollectionIterator
hasNext, next, remove
-
-
-
-
Method Detail
-
baseListIterator
protected java.util.ListIterator baseListIterator()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interfacejava.util.ListIterator
-
previous
public java.lang.Object previous()
- Specified by:
previous
in interfacejava.util.ListIterator
-
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interfacejava.util.ListIterator
-
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interfacejava.util.ListIterator
-
set
public void set(java.lang.Object o)
- Specified by:
set
in interfacejava.util.ListIterator
-
add
public void add(java.lang.Object o)
- Specified by:
add
in interfacejava.util.ListIterator
-
-