org.eclipse.ocl.examples.pivot.manager
Class Orphanage.WeakContentsEList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
org.eclipse.emf.common.util.AbstractEList<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.ocl.examples.pivot.manager.Orphanage.WeakContentsEList
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<org.eclipse.emf.ecore.EObject>, java.util.Collection<org.eclipse.emf.ecore.EObject>, java.util.List<org.eclipse.emf.ecore.EObject>, java.util.RandomAccess, org.eclipse.emf.common.notify.NotifyingList<org.eclipse.emf.ecore.EObject>, org.eclipse.emf.common.util.EList<org.eclipse.emf.ecore.EObject>, org.eclipse.emf.ecore.util.InternalEList<org.eclipse.emf.ecore.EObject>
- Enclosing class:
- Orphanage
protected class Orphanage.WeakContentsEList
- extends org.eclipse.emf.ecore.util.NotifyingInternalEListImpl<E>
WeakContentsEList is used in place of the conventional ContentsEList to provide the
weak references to the orphanage Resource.contents using a WeakHashMap.
- See Also:
- Serialized Form
Nested classes/interfaces inherited from class org.eclipse.emf.common.util.BasicEList |
org.eclipse.emf.common.util.BasicEList.BasicIndexOutOfBoundsException, org.eclipse.emf.common.util.BasicEList.EIterator<E1>, org.eclipse.emf.common.util.BasicEList.EListIterator<E1>, org.eclipse.emf.common.util.BasicEList.FastCompare<E>, org.eclipse.emf.common.util.BasicEList.NonResolvingEIterator<E1>, org.eclipse.emf.common.util.BasicEList.NonResolvingEListIterator<E1>, org.eclipse.emf.common.util.BasicEList.UnmodifiableEList<E> |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.util.InternalEList |
org.eclipse.emf.ecore.util.InternalEList.Unsettable<E> |
Fields inherited from class org.eclipse.emf.common.util.BasicEList |
data, size |
Fields inherited from class java.util.AbstractList |
modCount |
Method Summary |
void |
clear()
|
boolean |
contains(java.lang.Object object)
|
protected void |
doAddUnique(org.eclipse.emf.ecore.EObject object)
|
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, createNotification, createNotification, createNotificationChain, dispatchNotification, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddUnique, doClear, doMove, doRemove, doRemoveAll, doSetUnique, getFeature, getFeatureID, hasShadow, isSet, move, remove, removeAll, resolve, setUnique, shadowAdd, shadowRemove, shadowSet |
Methods inherited from class org.eclipse.emf.common.util.BasicEList |
assign, basicGet, clone, data, get, grow, indexOf, isEmpty, lastIndexOf, primitiveGet, setData, shrink, size, toArray, toArray |
Methods inherited from class org.eclipse.emf.common.util.AbstractEList |
add, add, addAll, addAll, didChange, didMove, equalObjects, equals, getDuplicates, getNonDuplicates, hashCode, iterator, listIterator, listIterator, move, remove, resolve, retainAll, set, toString, validate |
Methods inherited from class java.util.AbstractList |
removeRange, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll |
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, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Orphanage.WeakContentsEList
protected Orphanage.WeakContentsEList()
clear
public void clear()
- Specified by:
clear
in interface java.util.Collection<org.eclipse.emf.ecore.EObject>
- Specified by:
clear
in interface java.util.List<org.eclipse.emf.ecore.EObject>
- Overrides:
clear
in class org.eclipse.emf.common.notify.impl.NotifyingListImpl<org.eclipse.emf.ecore.EObject>
contains
public boolean contains(java.lang.Object object)
- Specified by:
contains
in interface java.util.Collection<org.eclipse.emf.ecore.EObject>
- Specified by:
contains
in interface java.util.List<org.eclipse.emf.ecore.EObject>
doAddUnique
protected void doAddUnique(org.eclipse.emf.ecore.EObject object)
- Overrides:
doAddUnique
in class org.eclipse.emf.common.notify.impl.NotifyingListImpl<org.eclipse.emf.ecore.EObject>