Package org.eclipse.emf.common.util
Class ArrayDelegatingEList.NonResolvingEListIterator<E1>
java.lang.Object
AbstractEList<E>.org.eclipse.emf.common.util.AbstractEList.EIterator<E1>
AbstractEList<E>.org.eclipse.emf.common.util.AbstractEList.EListIterator<E1>
AbstractEList<E>.org.eclipse.emf.common.util.AbstractEList.NonResolvingEListIterator<E1>
org.eclipse.emf.common.util.ArrayDelegatingEList.NonResolvingEListIterator<E1>
- All Implemented Interfaces:
Iterator<E1>,ListIterator<E1>
- Enclosing class:
ArrayDelegatingEList<E>
protected class ArrayDelegatingEList.NonResolvingEListIterator<E1>
extends AbstractEList<E>.NonResolvingEListIterator<E1>
An extended read-only list iterator that does not
resolve objects.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Object[]The expected data array of the containing list.Fields inherited from class org.eclipse.emf.common.util.AbstractEList.EIterator
cursor, expectedModCount, lastCursor -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance.NonResolvingEListIterator(int index) Creates an instance advanced to the index. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidChecks that the modification count and data array are as expected.Methods inherited from class org.eclipse.emf.common.util.AbstractEList.NonResolvingEListIterator
add, doNext, doPrevious, remove, setMethods inherited from class org.eclipse.emf.common.util.AbstractEList.EListIterator
doAdd, doSet, hasPrevious, nextIndex, previous, previousIndexMethods inherited from class org.eclipse.emf.common.util.AbstractEList.EIterator
hasNext, nextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemainingMethods inherited from interface java.util.ListIterator
hasNext, next
-
Field Details
-
expectedData
The expected data array of the containing list.
-
-
Constructor Details
-
NonResolvingEListIterator
public NonResolvingEListIterator()Creates an instance. -
NonResolvingEListIterator
public NonResolvingEListIterator(int index) Creates an instance advanced to the index.- Parameters:
index- the starting index.
-
-
Method Details
-
checkModCount
protected void checkModCount()Checks that the modification count and data array are as expected.- Overrides:
checkModCountin classAbstractEList<E>.EIterator<E1>- Throws:
ConcurrentModificationException- if the modification count is not as expected.
-