|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
org.eclipse.emf.common.util.BasicEList
org.eclipse.emf.common.notify.impl.NotifyingListImpl
org.eclipse.emf.ecore.util.EcoreEList
org.eclipse.emf.ecore.util.EObjectEList
Nested Class Summary | |
static class |
EObjectEList.Unsettable
|
Nested classes inherited from class org.eclipse.emf.ecore.util.EcoreEList |
EcoreEList.Dynamic, EcoreEList.Generic, EcoreEList.UnmodifiableEList |
Nested classes inherited from class org.eclipse.emf.common.util.BasicEList |
BasicEList.BasicIndexOutOfBoundsException, BasicEList.EIterator, BasicEList.EListIterator, BasicEList.FastCompare, BasicEList.NonResolvingEIterator, BasicEList.NonResolvingEListIterator |
Field Summary | |
protected int |
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 | |
EObjectEList(java.lang.Class dataClass,
InternalEObject owner,
int featureID)
|
Method Summary | |
protected boolean |
canContainNull()
Returns ! |
int |
getFeatureID()
Returns Notification.NO_FEATURE_ID . |
protected boolean |
hasInverse()
Returns false . |
protected boolean |
isEObject()
|
protected boolean |
isUnique()
Returns whether objects are constrained to appear at most once in the list. |
protected java.lang.Object |
resolve(int index,
java.lang.Object object)
Resolves the object at the index and returns the result. |
protected boolean |
useEquals()
Returns whether equals rather than == should be used to compare members.
|
Methods inherited from class org.eclipse.emf.ecore.util.EcoreEList |
basicIterator, basicList, basicListIterator, basicListIterator, contains, createNotification, createNotification, dispatchNotification, get, getEObject, getEStructuralFeature, getFeature, getFeatureType, getInverseEReference, getInverseFeatureClass, getInverseFeatureID, getNotifier, hasInstanceClass, hasManyInverse, hasNavigableInverse, hasProxies, indexOf, inverseAdd, inverseRemove, isContainment, isInstance, isNotificationRequired, isSet, lastIndexOf, newData, resolve, resolve, resolveProxy, set, toArray, toArray, unset, validate |
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifyingListImpl |
addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, basicAdd, basicRemove, basicSet, clear, createNotification, createNotificationChain, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddUnique, doAddUnique, doClear, doMove, doRemove, doRemoveAll, doSetUnique, getFeatureID, 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, didChange, didClear, didMove, didRemove, didSet, equalObjects, equals, get, getDuplicates, getNonDuplicates, grow, hashCode, isEmpty, iterator, listIterator, listIterator, move, remove, retainAll, set, setData, shrink, size, toString |
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 |
addUnique, addUnique, basicAdd, basicGet, basicRemove, 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 |
Field Detail |
protected final int featureID
Constructor Detail |
public EObjectEList(java.lang.Class dataClass, InternalEObject owner, int featureID)
Method Detail |
public int getFeatureID()
NotifyingListImpl
Notification.NO_FEATURE_ID
.
getFeatureID
in interface NotifyingList
getFeatureID
in class EcoreEList
protected boolean useEquals()
BasicEList
equals
rather than ==
should be used to compare members.
The default is to return true
but clients can optimize performance by returning false
.
The performance difference is highly significant.
useEquals
in class BasicEList
equals
rather than ==
should be used.protected boolean isUnique()
BasicEList
false
, but clients can override this to ensure uniqueness of contents.
The performance impact is signifcant: operations such as add
are O(n) as a result requiring uniqueness.
isUnique
in class BasicEList
protected boolean hasInverse()
NotifyingListImpl
false
.
hasInverse
in class NotifyingListImpl
false
.protected boolean isEObject()
isEObject
in class EcoreEList
protected boolean canContainNull()
NotifyingListImpl
!NotifyingListImpl.hasInverse()
.
canContainNull
in class NotifyingListImpl
!hasInverse
.protected java.lang.Object resolve(int index, java.lang.Object object)
BasicEList
object
;
clients can use this to transform objects as they are fetched.
resolve
in class EcoreEList
|
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 |