|
||||||||||
| PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.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
| Inner Class Summary | |
|---|---|
static class |
EObjectEList.Unsettable
|
| Inner classes inherited from class org.eclipse.emf.ecore.util.EcoreEList |
|---|
EcoreEList.Dynamic, EcoreEList.Generic, EcoreEList.UnmodifiableEList |
| Inner classes inherited from class org.eclipse.emf.common.util.BasicEList |
|---|
BasicEList.EIterator, BasicEList.EListIterator, BasicEList.NonResolvingEIterator, BasicEList.NonResolvingEListIterator, BasicEList.UnmodifiableEList |
| Inner classes inherited from class org.eclipse.emf.ecore.util.InternalEList |
|---|
InternalEList.Unsettable |
| 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 |
hasProxies()
|
protected boolean |
isEObject()
|
protected boolean |
isUnique()
Returns whether objects are constrained to appear at most once in the list. |
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, indexOf, inverseAdd, inverseRemove, isContainment, isNotificationRequired, isSet, lastIndexOf, newData, resolve, resolveProxy, set, toArray, toArray, unset, validate |
| Methods inherited from class org.eclipse.emf.common.notify.impl.NotifyingListImpl |
|---|
addAllUnique, addAllUnique, addUnique, addUnique, basicAdd, basicRemove, basicSet, clear, getFeatureID, move, remove, removeAll, setUnique |
| 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, 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()
NotifyingListImplNotification.NO_FEATURE_ID.getFeatureID in class EcoreEListorg.eclipse.emf.common.notify.impl.NotifyingListImplNotification.NO_FEATURE_ID.protected boolean useEquals()
BasicEListequals 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 BasicEListorg.eclipse.emf.common.util.BasicEListequals rather than == should be used.protected boolean isUnique()
BasicEListfalse, 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 BasicEListorg.eclipse.emf.common.util.BasicEListprotected boolean hasInverse()
NotifyingListImplfalse.hasInverse in class NotifyingListImplorg.eclipse.emf.common.notify.impl.NotifyingListImplfalse.protected boolean isEObject()
isEObject in class EcoreEListprotected boolean hasProxies()
hasProxies in class EcoreEListprotected boolean canContainNull()
NotifyingListImpl!NotifyingListImpl.hasInverse().canContainNull in class NotifyingListImplorg.eclipse.emf.common.notify.impl.NotifyingListImpl!hasInverse.
|
Copyright 2001-2003 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||