Class DelegatingRefContextDefEList<E>

  • All Implemented Interfaces:
    Serializable, Cloneable, Iterable<E>, Collection<E>, List<E>, RandomAccess, org.eclipse.emf.common.util.EList<E>

    public class DelegatingRefContextDefEList<E>
    extends org.eclipse.emf.common.util.BasicEList<E>
    Delegating EList implementation which always resolves referenced RefContextDefs of a MdTypeDelegatingContextDefRef ContextDef implementation.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.emf.common.util.BasicEList

        org.eclipse.emf.common.util.BasicEList.BasicIndexOutOfBoundsException, org.eclipse.emf.common.util.BasicEList.EIterator<E1 extends Object>, org.eclipse.emf.common.util.BasicEList.EListIterator<E1 extends Object>, org.eclipse.emf.common.util.BasicEList.FastCompare<E extends Object>, org.eclipse.emf.common.util.BasicEList.NonResolvingEIterator<E1 extends Object>, org.eclipse.emf.common.util.BasicEList.NonResolvingEListIterator<E1 extends Object>, org.eclipse.emf.common.util.BasicEList.UnmodifiableEList<E extends Object>
    • Field Summary

      • Fields inherited from class org.eclipse.emf.common.util.BasicEList

        data, size
    • Constructor Detail

      • DelegatingRefContextDefEList

        public DelegatingRefContextDefEList​(ContextDef source)
        Constructs and instance using the provided ContextDef source.
        Parameters:
        source - The source object.
    • Method Detail

      • add

        public boolean add​(E object)
        Specified by:
        add in interface Collection<E>
        Specified by:
        add in interface List<E>
        Overrides:
        add in class org.eclipse.emf.common.util.AbstractEList<E>
      • contains

        public boolean contains​(Object object)
        Specified by:
        contains in interface Collection<E>
        Specified by:
        contains in interface List<E>
        Overrides:
        contains in class org.eclipse.emf.common.util.BasicEList<E>
      • get

        public E get​(int index)
        Specified by:
        get in interface List<E>
        Overrides:
        get in class org.eclipse.emf.common.util.BasicEList<E>
      • indexOf

        public int indexOf​(Object object)
        Specified by:
        indexOf in interface List<E>
        Overrides:
        indexOf in class org.eclipse.emf.common.util.BasicEList<E>
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface Collection<E>
        Specified by:
        isEmpty in interface List<E>
        Overrides:
        isEmpty in class org.eclipse.emf.common.util.BasicEList<E>
      • lastIndexOf

        public int lastIndexOf​(Object object)
        Specified by:
        lastIndexOf in interface List<E>
        Overrides:
        lastIndexOf in class org.eclipse.emf.common.util.BasicEList<E>
      • toArray

        public Object[] toArray()
        Specified by:
        toArray in interface Collection<E>
        Specified by:
        toArray in interface List<E>
        Overrides:
        toArray in class org.eclipse.emf.common.util.BasicEList<E>
      • toArray

        public <T> T[] toArray​(T[] array)
        Specified by:
        toArray in interface Collection<E>
        Specified by:
        toArray in interface List<E>
        Overrides:
        toArray in class org.eclipse.emf.common.util.BasicEList<E>