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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
Checks for modification.protected org.eclipse.emf.ecore.EStructuralFeature
findContainerFeature
(org.eclipse.emf.ecore.EObject object) Returns container feature of for the specified object.next()
protected boolean
void
remove()
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
EStructuralFeature
object.
-
prepareNext
protected boolean prepareNext() -
set
- Specified by:
set
in interfaceListIterator<E>
-
next
-
remove
public void remove() -
add
- Specified by:
add
in interfaceListIterator<E>
-
checkModCount
protected void checkModCount()Checks for modification. If finds unexpected modification then throws an exception.
-