public static class EDataTypeUniqueEList.Unsettable<E> extends EDataTypeEList.Unsettable<E>
EDataTypeEList.Unsettable<E>
EcoreEList.Dynamic<E>, EcoreEList.Generic<E>, EcoreEList.UnmodifiableEList<E>
BasicEList.BasicIndexOutOfBoundsException, BasicEList.EIterator<E1>, BasicEList.EListIterator<E1>, BasicEList.FastCompare<E>, BasicEList.NonResolvingEIterator<E1>, BasicEList.NonResolvingEListIterator<E1>
isSet
featureID
dataClass, owner
data, size
Constructor and Description |
---|
EDataTypeUniqueEList.Unsettable(java.lang.Class<?> dataClass,
InternalEObject owner,
int featureID) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isUnique()
Returns whether objects are constrained to appear at most once in the list.
|
didChange, isSet, unset
getFeatureID, isEObject, resolve
contains, createNotification, createNotification, dispatchNotification, get, getEObject, getEStructuralFeature, getFeature, getFeatureType, getInverseEReference, getInverseFeatureClass, getInverseFeatureID, getNotifier, hasInstanceClass, hasManyInverse, hasNavigableInverse, hasProxies, indexOf, inverseAdd, inverseRemove, isContainment, isInstance, isNotificationRequired, lastIndexOf, newData, resolve, resolve, resolveProxy, set, toArray, toArray, validate
basicContains, basicContainsAll, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicToArray, basicToArray
addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, basicAdd, basicRemove, basicSet, canContainNull, clear, createNotification, createNotificationChain, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddUnique, doAddUnique, doClear, doMove, doRemove, doRemoveAll, doSetUnique, getFeatureID, hasInverse, hasShadow, move, remove, removeAll, setUnique, shadowAdd, shadowRemove, shadowSet
assign, basicGet, clone, data, get, grow, isEmpty, primitiveGet, setData, shrink, size
add, add, addAll, addAll, didAdd, didClear, didMove, didRemove, didSet, equalObjects, equals, getDuplicates, getNonDuplicates, hashCode, iterator, listIterator, listIterator, move, remove, retainAll, set, toString, useEquals
finalize, getClass, notify, notifyAll, wait, wait, wait
addAllUnique, addAllUnique, addUnique, addUnique, basicAdd, basicContains, basicContainsAll, basicGet, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicRemove, basicToArray, basicToArray, setUnique
public EDataTypeUniqueEList.Unsettable(java.lang.Class<?> dataClass, InternalEObject owner, int featureID)
protected boolean isUnique()
AbstractEList
false
, but clients can override this to ensure uniqueness of contents.
The performance impact is significant: operations such as add
are O(n) as a result requiring uniqueness.isUnique
in class AbstractEList<E>