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 voidadd(java.lang.Object o)protected java.util.ListIteratorbaseListIterator()booleanhasPrevious()intnextIndex()java.lang.Objectprevious()intpreviousIndex()voidset(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:
hasPreviousin interfacejava.util.ListIterator
-
previous
public java.lang.Object previous()
- Specified by:
previousin interfacejava.util.ListIterator
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfacejava.util.ListIterator
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfacejava.util.ListIterator
-
set
public void set(java.lang.Object o)
- Specified by:
setin interfacejava.util.ListIterator
-
add
public void add(java.lang.Object o)
- Specified by:
addin interfacejava.util.ListIterator
-
-