|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection<E> java.util.AbstractList<E> org.eclipse.emf.common.util.BasicEList<E> org.eclipse.emf.common.notify.impl.NotifyingListImpl<E> org.eclipse.emf.ecore.util.NotifyingInternalEListImpl<E> org.eclipse.emf.ecore.util.EcoreEList<E> org.eclipse.emf.ecore.util.EDataTypeEList<E> org.eclipse.emf.ecore.util.EDataTypeEList.Unsettable<E> org.eclipse.emf.ecore.util.EDataTypeUniqueEList.Unsettable<E>
public static class EDataTypeUniqueEList.Unsettable<E>
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.util.EDataTypeEList |
---|
EDataTypeEList.Unsettable<E> |
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.util.EcoreEList |
---|
EcoreEList.Dynamic<E>, EcoreEList.Generic<E>, EcoreEList.UnmodifiableEList<E> |
Nested classes/interfaces inherited from class org.eclipse.emf.common.util.BasicEList |
---|
BasicEList.BasicIndexOutOfBoundsException, BasicEList.EIterator<E1>, BasicEList.EListIterator<E1>, BasicEList.FastCompare<E>, BasicEList.NonResolvingEIterator<E1>, BasicEList.NonResolvingEListIterator<E1> |
Field Summary |
---|
Fields inherited from class org.eclipse.emf.ecore.util.EDataTypeEList.Unsettable |
---|
isSet |
Fields inherited from class org.eclipse.emf.ecore.util.EDataTypeEList |
---|
featureID |
Fields inherited from class org.eclipse.emf.ecore.util.EcoreEList |
---|
dataClass, owner |
Fields inherited from class org.eclipse.emf.common.util.BasicEList |
---|
data, size |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
EDataTypeUniqueEList.Unsettable(java.lang.Class<?> dataClass,
InternalEObject owner,
int featureID)
|
Method Summary | |
---|---|
protected boolean |
isUnique()
Returns whether objects are constrained to appear at most once in the list. |
Methods inherited from class org.eclipse.emf.ecore.util.EDataTypeEList.Unsettable |
---|
didChange, isSet, unset |
Methods inherited from class org.eclipse.emf.ecore.util.EDataTypeEList |
---|
getFeatureID, isEObject, resolve |
Methods inherited from class org.eclipse.emf.ecore.util.EcoreEList |
---|
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 |
Methods inherited from class org.eclipse.emf.ecore.util.NotifyingInternalEListImpl |
---|
basicContains, basicContainsAll, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicToArray, basicToArray |
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifyingListImpl |
---|
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 |
Methods inherited from class org.eclipse.emf.common.util.BasicEList |
---|
add, add, addAll, addAll, assign, basicGet, clone, containsAll, data, didAdd, didClear, didMove, didRemove, didSet, equalObjects, equals, get, getDuplicates, getNonDuplicates, grow, hashCode, isEmpty, iterator, listIterator, listIterator, move, remove, retainAll, set, setData, shrink, size, toString, useEquals |
Methods inherited from class java.util.AbstractList |
---|
removeRange, subList |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
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 org.eclipse.emf.common.util.EList |
---|
move, move |
Methods inherited from interface java.util.List |
---|
add, add, addAll, addAll, clear, containsAll, equals, get, hashCode, isEmpty, iterator, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList |
Constructor Detail |
---|
public EDataTypeUniqueEList.Unsettable(java.lang.Class<?> dataClass, InternalEObject owner, int featureID)
Method Detail |
---|
protected boolean isUnique()
BasicEList
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 BasicEList<E>
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |