protected class ArrayDelegatingEList.EIterator<E1> extends AbstractEList.EIterator<E1>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object[] |
expectedData
The expected data array of the containing list.
|
cursor, expectedModCount, lastCursor| Modifier | Constructor and Description |
|---|---|
protected |
EIterator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkModCount()
Checks that the modification count and data array are as expected.
|
void |
remove()
Removes the last object returned by
AbstractEList.EIterator.next() from the list,
it's an optional operation. |
doNext, hasNext, nextprotected java.lang.Object[] expectedData
protected void checkModCount()
checkModCount in class AbstractEList.EIterator<E1>java.util.ConcurrentModificationException - if the modification count is not as expected.public void remove()
AbstractEList.EIteratorAbstractEList.EIterator.next() from the list,
it's an optional operation.
This implementation can also function in a list iterator
to act upon on the object returned by calling previous.remove in interface java.util.Iterator<E1>remove in class AbstractEList.EIterator<E1>Copyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature