Class ModifiableDerivedUnionEObjectEList.DerivedUnionIterator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected int expectedModCount
      Expected modification count.
    • 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)  
      • 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 Detail

      • expectedModCount

        protected int expectedModCount
        Expected modification count.
    • Constructor Detail

      • DerivedUnionIterator

        public DerivedUnionIterator()
    • 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 interface java.util.ListIterator<E>
      • next

        public E next()
        Specified by:
        next in interface java.util.Iterator<E>
        Specified by:
        next in interface java.util.ListIterator<E>
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<E>
        Specified by:
        remove in interface java.util.ListIterator<E>
      • add

        public void add​(java.lang.Object element)
        Specified by:
        add in interface java.util.ListIterator<E>
      • checkModCount

        protected void checkModCount()
        Checks for modification. If finds unexpected modification then throws an exception.