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.Object
Non resolvingDerivedUnionEObjectEStoreEList
iterator.
-
-
Field Summary
Fields Modifier and Type Field Description protected int
expectedModCount
Expected modification count.
-
Constructor Summary
Constructors Constructor Description DerivedUnionIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(java.lang.Object element)
protected void
checkModCount()
Checks for modification.protected org.eclipse.emf.ecore.EStructuralFeature
findContainerFeature(org.eclipse.emf.ecore.EObject object)
Returns container feature of for the specified object.E
next()
void
remove()
void
set(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:
EStructuralFeature
object.
-
set
public void set(java.lang.Object element)
- Specified by:
set
in interfacejava.util.ListIterator<E>
-
next
public E next()
-
remove
public void remove()
-
add
public void add(java.lang.Object element)
- Specified by:
add
in interfacejava.util.ListIterator<E>
-
checkModCount
protected void checkModCount()
Checks for modification. If finds unexpected modification then throws an exception.
-
-