Class BasicEStoreEList<E>

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<E>, java.util.Collection<E>, java.util.List<E>, org.eclipse.emf.common.notify.NotifyingList<E>, org.eclipse.emf.common.util.EList<E>, org.eclipse.emf.ecore.EStructuralFeature.Setting, org.eclipse.emf.ecore.util.InternalEList<E>, org.eclipse.emf.ecore.util.InternalEList.Unsettable<E>
    Direct Known Subclasses:
    ModelEStoreEList

    public class BasicEStoreEList<E>
    extends org.eclipse.emf.ecore.util.DelegatingEcoreEList.Dynamic<E>
    A list that delegates to a store.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList

        org.eclipse.emf.ecore.util.DelegatingEcoreEList.Dynamic<E extends java.lang.Object>, org.eclipse.emf.ecore.util.DelegatingEcoreEList.Generic<E extends java.lang.Object>, org.eclipse.emf.ecore.util.DelegatingEcoreEList.UnmodifiableEList<E extends java.lang.Object>, org.eclipse.emf.ecore.util.DelegatingEcoreEList.Unsettable<E extends java.lang.Object>
      • Nested classes/interfaces inherited from class org.eclipse.emf.common.util.DelegatingEList

        org.eclipse.emf.common.util.DelegatingEList.EIterator<E1 extends java.lang.Object>, org.eclipse.emf.common.util.DelegatingEList.EListIterator<E1 extends java.lang.Object>, org.eclipse.emf.common.util.DelegatingEList.NonResolvingEIterator<E1 extends java.lang.Object>, org.eclipse.emf.common.util.DelegatingEList.NonResolvingEListIterator<E1 extends java.lang.Object>
      • Nested classes/interfaces inherited from class org.eclipse.emf.common.util.AbstractEList

        org.eclipse.emf.common.util.AbstractEList.BasicIndexOutOfBoundsException
    • Field Summary

      • Fields inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList.Dynamic

        eStructuralFeature
      • Fields inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList.Generic

        HAS_INSTANCE_CLASS, HAS_MANY_INVERSE, HAS_NAVIGABLE_INVERSE, HAS_PROXIES, IS_CONTAINER, IS_CONTAINMENT, IS_ENUM, IS_EOBJECT, IS_PRIMITIVE, IS_SET, IS_UNIQUE, IS_UNSETTABLE, kind
      • Fields inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList

        owner
      • Fields inherited from class java.util.AbstractList

        modCount
    • Constructor Summary

      Constructors 
      Constructor Description
      BasicEStoreEList​(org.eclipse.emf.ecore.InternalEObject owner, org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void afterChange()  
      protected void beforeChange​(java.lang.String featureName)  
      protected void delegateAdd​(int index, java.lang.Object object)  
      protected void delegateAdd​(java.lang.Object object)  
      protected java.util.List<E> delegateBasicList()  
      protected void delegateClear()  
      protected boolean delegateContains​(java.lang.Object object)  
      protected boolean delegateContainsAll​(java.util.Collection<?> collection)  
      protected boolean delegateEquals​(java.lang.Object object)  
      protected E delegateGet​(int index)  
      protected int delegateHashCode()  
      protected int delegateIndexOf​(java.lang.Object object)  
      protected boolean delegateIsEmpty()  
      protected java.util.Iterator<E> delegateIterator()  
      protected int delegateLastIndexOf​(java.lang.Object object)  
      protected java.util.List<E> delegateList()  
      protected java.util.ListIterator<E> delegateListIterator()  
      protected E delegateMove​(int targetIndex, int sourceIndex)  
      protected E delegateRemove​(int index)  
      protected E delegateSet​(int index, E object)  
      protected int delegateSize()  
      protected java.lang.Object[] delegateToArray()  
      protected <T> T[] delegateToArray​(T[] array)  
      protected java.lang.String delegateToString()  
      protected org.eclipse.emf.ecore.InternalEObject.EStore eStore()  
      protected void firePropertyChange​(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue, int index)  
      protected void firePropertyChange​(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue, int index, int newIndex)  
      org.eclipse.emf.ecore.EStructuralFeature getEStructuralFeature()  
      protected java.lang.String getPropertyEventName​(java.lang.Object value)  
      boolean makeLastInCollection​(java.lang.Object value)  
      E[] snapshot()
      Returns an array containing all of the elements in this list in proper sequence (from first to last element).
      • Methods inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList.Generic

        canContainNull, didChange, hasInstanceClass, hasInverse, hasManyInverse, hasNavigableInverse, hasProxies, isContainer, isContainment, isEObject, isSet, isUnique, isUnsettable, kind, unset, useEquals
      • Methods inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList

        contains, createNotification, createNotification, dispatchNotification, get, getEObject, getFeature, getFeatureID, getFeatureType, getInverseEReference, getInverseFeatureClass, getInverseFeatureID, getNotifier, indexOf, inverseAdd, inverseRemove, isInstance, isNotificationRequired, lastIndexOf, resolve, resolve, resolveProxy, set, toArray, toArray, validate
      • Methods inherited from class org.eclipse.emf.ecore.util.DelegatingNotifyingInternalEListImpl

        basicContains, basicContainsAll, basicGet, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicToArray, basicToArray
      • Methods inherited from class org.eclipse.emf.common.notify.impl.DelegatingNotifyingListImpl

        addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, basicAdd, basicRemove, basicSet, clear, createNotification, createNotificationChain, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddUnique, doAddUnique, doClear, doMove, doRemove, doRemoveAll, doSetUnique, getFeatureID, hasShadow, move, remove, removeAll, setUnique, shadowAdd, shadowRemove, shadowSet
      • Methods inherited from class org.eclipse.emf.common.util.DelegatingEList

        containsAll, doClear, equals, get, hashCode, isEmpty, primitiveGet, remove, retainAll, size, toString
      • Methods inherited from class org.eclipse.emf.common.util.AbstractEList

        add, add, addAll, addAll, didAdd, didClear, didMove, didRemove, didSet, equalObjects, getDuplicates, getNonDuplicates, iterator, listIterator, listIterator, move, set
      • Methods inherited from class java.util.AbstractList

        removeRange, subList
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface org.eclipse.emf.common.util.EList

        move, move
      • Methods inherited from interface org.eclipse.emf.ecore.util.InternalEList

        addAllUnique, addAllUnique, addUnique, addUnique, basicAdd, basicContains, basicContainsAll, basicGet, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicRemove, basicToArray, basicToArray, setUnique
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

        add, add, addAll, addAll, clear, containsAll, equals, get, hashCode, isEmpty, iterator, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList
    • Constructor Detail

      • BasicEStoreEList

        public BasicEStoreEList​(org.eclipse.emf.ecore.InternalEObject owner,
                                org.eclipse.emf.ecore.EStructuralFeature eStructuralFeature)
    • Method Detail

      • beforeChange

        protected void beforeChange​(java.lang.String featureName)
      • afterChange

        protected void afterChange()
      • firePropertyChange

        protected void firePropertyChange​(java.lang.String propertyName,
                                          java.lang.Object oldValue,
                                          java.lang.Object newValue,
                                          int index)
      • firePropertyChange

        protected void firePropertyChange​(java.lang.String propertyName,
                                          java.lang.Object oldValue,
                                          java.lang.Object newValue,
                                          int index,
                                          int newIndex)
      • eStore

        protected org.eclipse.emf.ecore.InternalEObject.EStore eStore()
      • delegateList

        protected java.util.List<E> delegateList()
        Specified by:
        delegateList in class org.eclipse.emf.common.util.DelegatingEList<E>
      • getEStructuralFeature

        public org.eclipse.emf.ecore.EStructuralFeature getEStructuralFeature()
        Specified by:
        getEStructuralFeature in interface org.eclipse.emf.ecore.EStructuralFeature.Setting
        Overrides:
        getEStructuralFeature in class org.eclipse.emf.ecore.util.DelegatingEcoreEList.Dynamic<E>
      • getPropertyEventName

        protected java.lang.String getPropertyEventName​(java.lang.Object value)
      • delegateAdd

        protected void delegateAdd​(int index,
                                   java.lang.Object object)
        Overrides:
        delegateAdd in class org.eclipse.emf.common.util.DelegatingEList<E>
      • makeLastInCollection

        public boolean makeLastInCollection​(java.lang.Object value)
      • delegateAdd

        protected void delegateAdd​(java.lang.Object object)
        Overrides:
        delegateAdd in class org.eclipse.emf.common.util.DelegatingEList<E>
      • delegateBasicList

        protected java.util.List<E> delegateBasicList()
        Overrides:
        delegateBasicList in class org.eclipse.emf.common.util.DelegatingEList<E>
      • delegateClear

        protected void delegateClear()
        Overrides:
        delegateClear in class org.eclipse.emf.common.util.DelegatingEList<E>
      • delegateContains

        protected boolean delegateContains​(java.lang.Object object)
        Overrides:
        delegateContains in class org.eclipse.emf.common.util.DelegatingEList<E>
      • delegateContainsAll

        protected boolean delegateContainsAll​(java.util.Collection<?> collection)
        Overrides:
        delegateContainsAll in class org.eclipse.emf.common.util.DelegatingEList<E>
      • delegateGet

        protected E delegateGet​(int index)
        Overrides:
        delegateGet in class org.eclipse.emf.common.util.DelegatingEList<E>
      • delegateHashCode

        protected int delegateHashCode()
        Overrides:
        delegateHashCode in class org.eclipse.emf.common.util.DelegatingEList<E>
      • delegateIndexOf

        protected int delegateIndexOf​(java.lang.Object object)
        Overrides:
        delegateIndexOf in class org.eclipse.emf.common.util.DelegatingEList<E>
      • delegateIsEmpty

        protected boolean delegateIsEmpty()
        Overrides:
        delegateIsEmpty in class org.eclipse.emf.common.util.DelegatingEList<E>
      • delegateIterator

        protected java.util.Iterator<E> delegateIterator()
        Overrides:
        delegateIterator in class org.eclipse.emf.common.util.DelegatingEList<E>
      • delegateLastIndexOf

        protected int delegateLastIndexOf​(java.lang.Object object)
        Overrides:
        delegateLastIndexOf in class org.eclipse.emf.common.util.DelegatingEList<E>
      • delegateListIterator

        protected java.util.ListIterator<E> delegateListIterator()
        Overrides:
        delegateListIterator in class org.eclipse.emf.common.util.DelegatingEList<E>
      • delegateRemove

        protected E delegateRemove​(int index)
        Overrides:
        delegateRemove in class org.eclipse.emf.common.util.DelegatingEList<E>
      • delegateSet

        protected E delegateSet​(int index,
                                E object)
        Overrides:
        delegateSet in class org.eclipse.emf.common.util.DelegatingEList<E>
      • delegateSize

        protected int delegateSize()
        Overrides:
        delegateSize in class org.eclipse.emf.common.util.DelegatingEList<E>
      • delegateToArray

        protected java.lang.Object[] delegateToArray()
        Overrides:
        delegateToArray in class org.eclipse.emf.common.util.DelegatingEList<E>
      • delegateToArray

        protected <T> T[] delegateToArray​(T[] array)
        Overrides:
        delegateToArray in class org.eclipse.emf.common.util.DelegatingEList<E>
      • delegateMove

        protected E delegateMove​(int targetIndex,
                                 int sourceIndex)
        Overrides:
        delegateMove in class org.eclipse.emf.common.util.DelegatingEList<E>
      • delegateEquals

        protected boolean delegateEquals​(java.lang.Object object)
        Overrides:
        delegateEquals in class org.eclipse.emf.common.util.DelegatingEList<E>
      • delegateToString

        protected java.lang.String delegateToString()
        Overrides:
        delegateToString in class org.eclipse.emf.common.util.DelegatingEList<E>
      • snapshot

        public E[] snapshot()
        Returns an array containing all of the elements in this list in proper sequence (from first to last element). Implementation of the method does not perform any proxies resolving so the method should not be used on the list that may contain proxies.
        Returns:
        an array containing all of the elements in this list in proper sequence