EDU.oswego.cs.dl.util.concurrent
protected static class CopyOnWriteArrayList.COWIterator extends Object implements ListIterator
| 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 | 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. |
Throws: UnsupportedOperationException add is not supported by this Iterator.
Throws: UnsupportedOperationException remove is not supported by this Iterator.
Throws: UnsupportedOperationException set is not supported by this Iterator.