|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectEDU.oswego.cs.dl.util.concurrent.CopyOnWriteArrayList.COWIterator
| Field Summary | |
protected Object[] |
array
Snapshot of the array |
protected int |
cursor
Index of element to be returned by subsequent call to next. |
| Constructor Summary | |
protected |
CopyOnWriteArrayList.COWIterator(Object[] elementArray,
int initialCursor)
|
| Method Summary | |
void |
add(Object o)
Not supported. |
boolean |
hasNext()
|
boolean |
hasPrevious()
|
Object |
next()
|
int |
nextIndex()
|
Object |
previous()
|
int |
previousIndex()
|
void |
remove()
Not supported. |
void |
set(Object o)
Not supported. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected final Object[] array
protected int cursor
| Constructor Detail |
protected CopyOnWriteArrayList.COWIterator(Object[] elementArray,
int initialCursor)
| Method Detail |
public boolean hasNext()
hasNext in interface ListIteratorpublic boolean hasPrevious()
hasPrevious in interface ListIteratorpublic Object next()
next in interface ListIteratorpublic Object previous()
previous in interface ListIteratorpublic int nextIndex()
nextIndex in interface ListIteratorpublic int previousIndex()
previousIndex in interface ListIteratorpublic void remove()
remove in interface ListIteratorUnsupportedOperationException - remove is not supported
by this Iterator.public void set(Object o)
set in interface ListIteratorUnsupportedOperationException - set is not supported
by this Iterator.public void add(Object o)
add in interface ListIteratorUnsupportedOperationException - add is not supported
by this Iterator.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||