Package com.nomagic.magicdraw.uml2.util
Class ModifiableDerivedUnionEObjectEList.DerivedUnionIterator
- java.lang.Object
-
- com.nomagic.magicdraw.uml2.util.ModifiableDerivedUnionEObjectEList.DerivedUnionIterator
-
- All Implemented Interfaces:
java.util.Iterator<E>,java.util.ListIterator<E>
- Direct Known Subclasses:
ModifiableDerivedUnionEObjectEList.DerivedUnionResolvingIterator,ModifiableDerivedUnionEObjectEList.EmptyDerivedUnionListIterator
- Enclosing class:
- ModifiableDerivedUnionEObjectEList<E>
public class ModifiableDerivedUnionEObjectEList.DerivedUnionIterator extends java.lang.ObjectNon resolvingDerivedUnionEObjectEStoreEListiterator.
-
-
Field Summary
Fields Modifier and Type Field Description protected intexpectedModCountExpected modification count.
-
Constructor Summary
Constructors Constructor Description DerivedUnionIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(java.lang.Object element)protected voidcheckModCount()Checks for modification.protected org.eclipse.emf.ecore.EStructuralFeaturefindContainerFeature(org.eclipse.emf.ecore.EObject object)Returns container feature of for the specified object.Enext()voidremove()voidset(java.lang.Object element)
-
-
-
Method Detail
-
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.
-
set
public void set(java.lang.Object element)
- Specified by:
setin interfacejava.util.ListIterator<E>
-
next
public E next()
-
remove
public void remove()
-
add
public void add(java.lang.Object element)
- Specified by:
addin interfacejava.util.ListIterator<E>
-
checkModCount
protected void checkModCount()
Checks for modification. If finds unexpected modification then throws an exception.
-
-