private class CollectionList.ListIterator extends Object implements Iterator<E>
Iterator
for this CollectionList
.Modifier and Type | Field and Description |
---|---|
private int |
cursor
Index of element to be returned by subsequent call to next.
|
private int |
expectedModCount
The modCount value that the iterator believes that the backing List should have.
|
private int |
lastRet
Index of element returned by most recent call to next or previous.
|
Modifier | Constructor and Description |
---|---|
private |
ListIterator() |
Modifier and Type | Method and Description |
---|---|
(package private) void |
checkForComodification()
Checks that the collection has NOT been modified outside this iterator.
|
boolean |
hasNext() |
E |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
private int cursor
private int lastRet
private int expectedModCount
Copyright © 2001–2016 mmm-Team. All rights reserved.