Class InvertableQueryBasedEList<ComputedType,​StorageType>

  • All Implemented Interfaces:
    java.lang.Iterable<ComputedType>, java.util.Collection<ComputedType>, java.util.List<ComputedType>, org.eclipse.emf.common.util.EList<ComputedType>

    public class InvertableQueryBasedEList<ComputedType,​StorageType>
    extends org.eclipse.emf.common.util.AbstractEList<ComputedType>
    • Nested Class Summary

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

        org.eclipse.emf.common.util.AbstractEList.BasicIndexOutOfBoundsException, org.eclipse.emf.common.util.AbstractEList.EIterator<E1 extends java.lang.Object>, org.eclipse.emf.common.util.AbstractEList.EListIterator<E1 extends java.lang.Object>, org.eclipse.emf.common.util.AbstractEList.NonResolvingEIterator<E1 extends java.lang.Object>, org.eclipse.emf.common.util.AbstractEList.NonResolvingEListIterator<E1 extends java.lang.Object>
    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean addAllUnique​(int index, java.lang.Object[] objects, int start, int end)  
      boolean addAllUnique​(int index, java.util.Collection<? extends ComputedType> collection)  
      boolean addAllUnique​(java.lang.Object[] objects, int start, int end)  
      boolean addAllUnique​(java.util.Collection<? extends ComputedType> collection)  
      void addUnique​(int index, ComputedType object)  
      void addUnique​(ComputedType object)  
      protected java.util.List<ComputedType> basicList()  
      ComputedType get​(int index)  
      ComputedType move​(int targetIndex, int sourceIndex)  
      protected ComputedType primitiveGet​(int index)  
      ComputedType remove​(int index)  
      ComputedType setUnique​(int index, ComputedType object)  
      int size()  
      protected ComputedType validate​(int index, ComputedType object)  
      • Methods inherited from class org.eclipse.emf.common.util.AbstractEList

        add, add, addAll, addAll, basicGet, basicIterator, basicListIterator, basicListIterator, canContainNull, didAdd, didChange, didClear, didMove, didRemove, didSet, equalObjects, equals, getDuplicates, getNonDuplicates, hashCode, isUnique, iterator, listIterator, listIterator, move, remove, removeAll, resolve, retainAll, set, toString, useEquals
      • Methods inherited from class java.util.AbstractList

        clear, indexOf, lastIndexOf, removeRange, subList
      • Methods inherited from class java.util.AbstractCollection

        contains, containsAll, isEmpty, toArray, toArray
      • 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 java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.List

        clear, contains, containsAll, indexOf, isEmpty, lastIndexOf, replaceAll, sort, spliterator, subList, toArray, toArray
    • Method Detail

      • primitiveGet

        protected ComputedType primitiveGet​(int index)
        Specified by:
        primitiveGet in class org.eclipse.emf.common.util.AbstractEList<ComputedType>
      • addUnique

        public void addUnique​(ComputedType object)
        Specified by:
        addUnique in class org.eclipse.emf.common.util.AbstractEList<ComputedType>
      • addUnique

        public void addUnique​(int index,
                              ComputedType object)
        Specified by:
        addUnique in class org.eclipse.emf.common.util.AbstractEList<ComputedType>
      • addAllUnique

        public boolean addAllUnique​(java.util.Collection<? extends ComputedType> collection)
        Specified by:
        addAllUnique in class org.eclipse.emf.common.util.AbstractEList<ComputedType>
      • addAllUnique

        public boolean addAllUnique​(int index,
                                    java.util.Collection<? extends ComputedType> collection)
        Specified by:
        addAllUnique in class org.eclipse.emf.common.util.AbstractEList<ComputedType>
      • addAllUnique

        public boolean addAllUnique​(java.lang.Object[] objects,
                                    int start,
                                    int end)
        Specified by:
        addAllUnique in class org.eclipse.emf.common.util.AbstractEList<ComputedType>
      • addAllUnique

        public boolean addAllUnique​(int index,
                                    java.lang.Object[] objects,
                                    int start,
                                    int end)
        Specified by:
        addAllUnique in class org.eclipse.emf.common.util.AbstractEList<ComputedType>
      • remove

        public ComputedType remove​(int index)
        Specified by:
        remove in interface java.util.List<ComputedType>
        Specified by:
        remove in class org.eclipse.emf.common.util.AbstractEList<ComputedType>
      • move

        public ComputedType move​(int targetIndex,
                                 int sourceIndex)
        Specified by:
        move in interface org.eclipse.emf.common.util.EList<ComputedType>
        Specified by:
        move in class org.eclipse.emf.common.util.AbstractEList<ComputedType>
      • basicList

        protected java.util.List<ComputedType> basicList()
        Specified by:
        basicList in class org.eclipse.emf.common.util.AbstractEList<ComputedType>
      • size

        public int size()
        Specified by:
        size in interface java.util.Collection<ComputedType>
        Specified by:
        size in interface java.util.List<ComputedType>
        Specified by:
        size in class java.util.AbstractCollection<ComputedType>