E
- the type of elements in this list@ParametersAreNonnullByDefault public class DirectStoreList<E> extends org.eclipse.emf.ecore.util.DelegatingEcoreEList.Dynamic<E> implements Storable
List
representing a multi-valued feature which behaves as a proxy and that delegates its operations to the
associated Store
.InternalEObject.eStore()
,
Serialized Formorg.eclipse.emf.ecore.util.DelegatingEcoreEList.Dynamic<E>, org.eclipse.emf.ecore.util.DelegatingEcoreEList.Generic<E>, org.eclipse.emf.ecore.util.DelegatingEcoreEList.UnmodifiableEList<E>, org.eclipse.emf.ecore.util.DelegatingEcoreEList.Unsettable<E>
org.eclipse.emf.common.util.DelegatingEList.EIterator<E1>, org.eclipse.emf.common.util.DelegatingEList.EListIterator<E1>, org.eclipse.emf.common.util.DelegatingEList.NonResolvingEIterator<E1>, org.eclipse.emf.common.util.DelegatingEList.NonResolvingEListIterator<E1>
eStructuralFeature
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
modCount
Constructor and Description |
---|
DirectStoreList(PersistentEObject owner,
org.eclipse.emf.ecore.EStructuralFeature feature)
Constructs a new
DirectStoreList . |
Modifier and Type | Method and Description |
---|---|
boolean |
addAllUnique(Collection<? extends E> collection) |
boolean |
addAllUnique(Object[] objects,
int start,
int end) |
void |
addUnique(E object) |
Iterator<E> |
basicIterator() |
ListIterator<E> |
basicListIterator() |
ListIterator<E> |
basicListIterator(int index) |
protected void |
delegateAdd(E object) |
protected void |
delegateAdd(int index,
E object) |
protected int |
delegateAddAll(int index,
Collection<? extends E> collection)
TODO
|
protected List<E> |
delegateBasicList() |
protected void |
delegateClear() |
protected boolean |
delegateContains(Object object) |
protected boolean |
delegateContainsAll(Collection<?> collection) |
protected boolean |
delegateEquals(Object object) |
protected E |
delegateGet(int index) |
protected List<E> |
delegateGetAll()
TODO
|
protected int |
delegateHashCode() |
protected int |
delegateIndexOf(Object object) |
protected boolean |
delegateIsEmpty() |
protected Iterator<E> |
delegateIterator() |
protected int |
delegateLastIndexOf(Object object) |
protected List<E> |
delegateList() |
protected 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 Object[] |
delegateToArray() |
protected <T> T[] |
delegateToArray(T[] array) |
protected String |
delegateToString() |
protected boolean |
doAddAllUnique(Collection<? extends E> collection) |
protected boolean |
doAddAllUnique(int index,
Collection<? extends E> collection) |
protected boolean |
doAddAllUnique(int index,
Object[] objects,
int start,
int end) |
protected boolean |
doAddAllUnique(Object[] objects,
int start,
int end) |
protected void |
doAddUnique(E object) |
StoreAdapter |
eStore()
Returns the store used to store the model.
|
Iterator<E> |
iterator() |
ListIterator<E> |
listIterator() |
ListIterator<E> |
listIterator(int index) |
getEStructuralFeature
canContainNull, didChange, hasInstanceClass, hasInverse, hasManyInverse, hasNavigableInverse, hasProxies, isContainer, isContainment, isEObject, isSet, isUnique, isUnsettable, kind, unset, useEquals
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
basicContains, basicContainsAll, basicGet, basicIndexOf, basicLastIndexOf, basicList, basicToArray, basicToArray
addAllUnique, addAllUnique, addUnique, basicAdd, basicRemove, basicSet, clear, createNotification, createNotificationChain, doAddUnique, doClear, doMove, doRemove, doRemoveAll, doSetUnique, getFeatureID, hasShadow, move, remove, removeAll, setUnique, shadowAdd, shadowRemove, shadowSet
containsAll, doClear, equals, get, hashCode, isEmpty, primitiveGet, remove, retainAll, size, toString
add, add, addAll, addAll, didAdd, didClear, didMove, didRemove, didSet, equalObjects, getDuplicates, getNonDuplicates, move, set
removeRange, subList
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAllUnique, addUnique, basicAdd, basicContains, basicContainsAll, basicGet, basicIndexOf, basicLastIndexOf, basicList, basicRemove, basicToArray, basicToArray, setUnique
add, add, addAll, addAll, clear, containsAll, equals, get, hashCode, isEmpty, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList
parallelStream, removeIf, stream
public DirectStoreList(PersistentEObject owner, org.eclipse.emf.ecore.EStructuralFeature feature)
DirectStoreList
.owner
- the owner the feature
feature
- the feature associated with this list@Nonnull public StoreAdapter eStore()
Storable
protected List<E> delegateList()
delegateList
in class org.eclipse.emf.common.util.DelegatingEList<E>
@Nonnegative protected int delegateSize()
delegateSize
in class org.eclipse.emf.common.util.DelegatingEList<E>
protected boolean delegateIsEmpty()
delegateIsEmpty
in class org.eclipse.emf.common.util.DelegatingEList<E>
protected boolean delegateContains(@Nullable Object object)
delegateContains
in class org.eclipse.emf.common.util.DelegatingEList<E>
protected boolean delegateContainsAll(@Nullable Collection<?> collection)
delegateContainsAll
in class org.eclipse.emf.common.util.DelegatingEList<E>
@Nonnegative protected int delegateIndexOf(@Nullable Object object)
delegateIndexOf
in class org.eclipse.emf.common.util.DelegatingEList<E>
@Nonnegative protected int delegateLastIndexOf(@Nullable Object object)
delegateLastIndexOf
in class org.eclipse.emf.common.util.DelegatingEList<E>
protected Object[] delegateToArray()
delegateToArray
in class org.eclipse.emf.common.util.DelegatingEList<E>
protected <T> T[] delegateToArray(T[] array)
delegateToArray
in class org.eclipse.emf.common.util.DelegatingEList<E>
protected E delegateGet(int index)
delegateGet
in class org.eclipse.emf.common.util.DelegatingEList<E>
protected E delegateSet(int index, E object)
delegateSet
in class org.eclipse.emf.common.util.DelegatingEList<E>
protected void delegateAdd(E object)
delegateAdd
in class org.eclipse.emf.common.util.DelegatingEList<E>
protected void delegateAdd(int index, E object)
delegateAdd
in class org.eclipse.emf.common.util.DelegatingEList<E>
protected E delegateRemove(int index)
delegateRemove
in class org.eclipse.emf.common.util.DelegatingEList<E>
protected void delegateClear()
delegateClear
in class org.eclipse.emf.common.util.DelegatingEList<E>
protected E delegateMove(int targetIndex, int sourceIndex)
delegateMove
in class org.eclipse.emf.common.util.DelegatingEList<E>
protected boolean delegateEquals(@Nullable Object object)
delegateEquals
in class org.eclipse.emf.common.util.DelegatingEList<E>
protected int delegateHashCode()
delegateHashCode
in class org.eclipse.emf.common.util.DelegatingEList<E>
protected String delegateToString()
delegateToString
in class org.eclipse.emf.common.util.DelegatingEList<E>
protected Iterator<E> delegateIterator()
delegateIterator
in class org.eclipse.emf.common.util.DelegatingEList<E>
protected ListIterator<E> delegateListIterator()
delegateListIterator
in class org.eclipse.emf.common.util.DelegatingEList<E>
protected List<E> delegateBasicList()
delegateBasicList
in class org.eclipse.emf.common.util.DelegatingEList<E>
@Nonnegative protected int delegateAddAll(int index, Collection<? extends E> collection)
index
- collection
- public void addUnique(E object)
protected void doAddUnique(E object)
doAddUnique
in class org.eclipse.emf.common.notify.impl.DelegatingNotifyingListImpl<E>
public boolean addAllUnique(Collection<? extends E> collection)
protected boolean doAddAllUnique(Collection<? extends E> collection)
doAddAllUnique
in class org.eclipse.emf.common.notify.impl.DelegatingNotifyingListImpl<E>
protected boolean doAddAllUnique(int index, Collection<? extends E> collection)
doAddAllUnique
in class org.eclipse.emf.common.notify.impl.DelegatingNotifyingListImpl<E>
public boolean addAllUnique(Object[] objects, int start, int end)
addAllUnique
in class org.eclipse.emf.common.notify.impl.DelegatingNotifyingListImpl<E>
protected boolean doAddAllUnique(Object[] objects, int start, int end)
doAddAllUnique
in class org.eclipse.emf.common.notify.impl.DelegatingNotifyingListImpl<E>
protected boolean doAddAllUnique(int index, Object[] objects, int start, int end)
doAddAllUnique
in class org.eclipse.emf.common.notify.impl.DelegatingNotifyingListImpl<E>
@Nonnull public ListIterator<E> basicListIterator()
@Nonnull public ListIterator<E> basicListIterator(int index)
@Nonnull public ListIterator<E> listIterator()
listIterator
in interface List<E>
listIterator
in class org.eclipse.emf.common.util.AbstractEList<E>
@Nonnull public ListIterator<E> listIterator(int index)
listIterator
in interface List<E>
listIterator
in class org.eclipse.emf.common.util.AbstractEList<E>
Copyright © 2013–2019 Atlanmod. All rights reserved.