Package com.nomagic.magicdraw.uml2.util
Class ModifiableDerivedUnionEObjectEList.DerivedUnionIterator
java.lang.Object
com.nomagic.magicdraw.uml2.util.ModifiableDerivedUnionEObjectEList.DerivedUnionIterator
- All Implemented Interfaces:
Iterator<E>,ListIterator<E>
- Direct Known Subclasses:
ModifiableDerivedUnionEObjectEList.DerivedUnionResolvingIterator,ModifiableDerivedUnionEObjectEList.EmptyDerivedUnionListIterator
- Enclosing class:
- ModifiableDerivedUnionEObjectEList<E>
Non resolving
DerivedUnionEObjectEStoreEList iterator.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidChecks for modification.protected org.eclipse.emf.ecore.EStructuralFeaturefindContainerFeature(org.eclipse.emf.ecore.EObject object) Returns container feature of for the specified object.next()protected booleanvoidremove()voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
expectedModCount
protected int expectedModCountExpected modification count.
-
-
Constructor Details
-
DerivedUnionIterator
public DerivedUnionIterator()
-
-
Method Details
-
findContainerFeature
protected org.eclipse.emf.ecore.EStructuralFeature findContainerFeature(org.eclipse.emf.ecore.EObject object) Returns container feature of for the specified object.- Parameters:
object- an object.- Returns:
EStructuralFeatureobject.
-
prepareNext
protected boolean prepareNext() -
set
- Specified by:
setin interfaceListIterator<E>
-
next
-
remove
public void remove() -
add
- Specified by:
addin interfaceListIterator<E>
-
checkModCount
protected void checkModCount()Checks for modification. If finds unexpected modification then throws an exception.
-