protected class ArrayDelegatingEList.EListIterator<E1> extends AbstractEList.EListIterator<E1>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object[] |
expectedData
The expected data array of the containing list.
|
cursor, expectedModCount, lastCursor| Constructor and Description |
|---|
EListIterator()
Creates an instance.
|
EListIterator(int index)
Creates an instance advanced to the index.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkModCount()
Checks that the modification count and data array are as expected.
|
protected void |
doSet(E object)
|
void |
remove()
Removes the last object returned by
AbstractEList.EIterator.next() from the list,
it's an optional operation. |
add, doAdd, doPrevious, hasPrevious, nextIndex, previous, previousIndex, setdoNext, hasNext, nextprotected java.lang.Object[] expectedData
public EListIterator()
public EListIterator(int index)
index - the starting index.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 interface java.util.ListIterator<E1>remove in class AbstractEList.EIterator<E1>protected void doSet(E object)
AbstractEList.EListIteratornext or previous.
This implementation delegates to set.doSet in class AbstractEList.EListIterator<E1>object - the object to set.Copyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature