private class CopyList.Itr extends java.lang.Object implements java.util.Iterator<E>
Modifier and Type | Field and Description |
---|---|
(package private) int |
cursor
Index of element to be returned by subsequent call to next.
|
(package private) int |
expectedModCount
The modCount value that the iterator believes that the backing
List should have.
|
(package private) int |
lastRet
Index of element returned by most recent call to next or
previous.
|
Modifier | Constructor and Description |
---|---|
private |
Itr() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
checkForComodification() |
boolean |
hasNext() |
E |
next() |
void |
remove() |
int cursor
int lastRet
int expectedModCount
private Itr()
final void checkForComodification()