|
||||||||||
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.DelegatingEList<E> org.eclipse.emf.common.notify.impl.DelegatingNotifyingListImpl<E> org.eclipse.emf.ecore.util.DelegatingNotifyingInternalEListImpl<E> org.eclipse.emf.ecore.util.DelegatingEcoreEList<E> org.eclipse.emf.ecore.util.DelegatingEcoreEList.Generic<E> org.eclipse.emf.ecore.util.DelegatingEcoreEList.Dynamic<E> org.eclipse.emf.ecore.impl.EStoreEObjectImpl.BasicEStoreEList<E>
public static class EStoreEObjectImpl.BasicEStoreEList<E>
A list that delegates to a store.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList |
---|
DelegatingEcoreEList.Dynamic<E>, DelegatingEcoreEList.Generic<E>, DelegatingEcoreEList.UnmodifiableEList<E>, DelegatingEcoreEList.Unsettable<E> |
Nested classes/interfaces inherited from class org.eclipse.emf.common.util.DelegatingEList |
---|
DelegatingEList.EIterator<E1>, DelegatingEList.EListIterator<E1>, DelegatingEList.NonResolvingEIterator<E1>, DelegatingEList.NonResolvingEListIterator<E1> |
Field Summary |
---|
Fields inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList.Dynamic |
---|
eStructuralFeature |
Fields inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList.Generic |
---|
HAS_INSTANCE_CLASS, HAS_MANY_INVERSE, HAS_NAVIGABLE_INVERSE, HAS_PROXIES, IS_CONTAINER, IS_CONTAINMENT, IS_ENUM, IS_EOBJECT, IS_PRIMITIVE, IS_SET, IS_UNIQUE, IS_UNSETTABLE, kind |
Fields inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList |
---|
owner |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
EStoreEObjectImpl.BasicEStoreEList(InternalEObject owner,
EStructuralFeature eStructuralFeature)
|
Method Summary | ||
---|---|---|
protected void |
delegateAdd(int index,
java.lang.Object object)
Adds the object at the given index in the backing store list. |
|
protected void |
delegateAdd(java.lang.Object object)
Adds the object at the end of the backing store list. |
|
protected java.util.List<E> |
delegateBasicList()
Returns an unsafe list that provides a non-resolving view of the backing store list. |
|
protected void |
delegateClear()
Clears the backing store list of all objects. |
|
protected boolean |
delegateContains(java.lang.Object object)
Returns whether the backing store list contains the object. |
|
protected boolean |
delegateContainsAll(java.util.Collection<?> collection)
Returns whether the backing store list contains each object in the collection. |
|
protected boolean |
delegateEquals(java.lang.Object object)
Returns whether the object is a list with corresponding equal objects to those in the backing store list. |
|
protected E |
delegateGet(int index)
Returns the object at the index in the backing store list. |
|
protected int |
delegateHashCode()
Returns the hash code of the backing store list. |
|
protected int |
delegateIndexOf(java.lang.Object object)
Returns the position of the first occurrence of the object in the backing store list. |
|
protected boolean |
delegateIsEmpty()
Returns whether the backing store list has zero size. |
|
protected java.util.Iterator<E> |
delegateIterator()
Returns an iterator over the backing store list. |
|
protected int |
delegateLastIndexOf(java.lang.Object object)
Returns the position of the last occurrence of the object in the backing store list. |
|
protected java.util.List<E> |
delegateList()
Returns the list that acts as the backing store. |
|
protected java.util.ListIterator<E> |
delegateListIterator()
Returns a list iterator over the backing store list. |
|
protected E |
delegateMove(int targetIndex,
int sourceIndex)
Moves the object at the source index in the backing store list by removing it and adding it at the new target index. |
|
protected E |
delegateRemove(int index)
Removes the object at the index from the backing store list and returns it. |
|
protected E |
delegateSet(int index,
E object)
Sets the object at the index in the backing store list and returns the old object at the index. |
|
protected int |
delegateSize()
Returns the number of objects in the backing store list. |
|
protected java.lang.Object[] |
delegateToArray()
Returns an array containing all the objects in the backing store list in sequence. |
|
protected
|
delegateToArray(T[] array)
Returns an array containing all the objects in the backing store list in sequence. |
|
protected java.lang.String |
delegateToString()
Returns a the string form of the backing store list. |
|
protected InternalEObject.EStore |
eStore()
|
|
EStructuralFeature |
getEStructuralFeature()
Returns the specific feature holding a value for the object. |
Methods inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList.Generic |
---|
canContainNull, didChange, hasInstanceClass, hasInverse, hasManyInverse, hasNavigableInverse, hasProxies, isContainer, isContainment, isEObject, isSet, isUnique, isUnsettable, kind, unset, useEquals |
Methods inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList |
---|
contains, createNotification, createNotification, dispatchNotification, get, getEObject, getFeature, getFeatureID, getFeatureType, getInverseEReference, getInverseFeatureClass, getInverseFeatureID, getNotifier, indexOf, inverseAdd, inverseRemove, isInstance, isNotificationRequired, lastIndexOf, resolve, resolve, resolveProxy, set, toArray, toArray, validate |
Methods inherited from class org.eclipse.emf.ecore.util.DelegatingNotifyingInternalEListImpl |
---|
basicContains, basicContainsAll, basicGet, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicToArray, basicToArray |
Methods inherited from class org.eclipse.emf.common.notify.impl.DelegatingNotifyingListImpl |
---|
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.DelegatingEList |
---|
add, add, addAll, addAll, containsAll, didAdd, didClear, didMove, didRemove, didSet, doClear, equalObjects, equals, get, getDuplicates, getNonDuplicates, hashCode, isEmpty, iterator, listIterator, listIterator, move, remove, retainAll, set, size, toString |
Methods inherited from class java.util.AbstractList |
---|
removeRange, subList |
Methods inherited from class java.lang.Object |
---|
clone, 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 EStoreEObjectImpl.BasicEStoreEList(InternalEObject owner, EStructuralFeature eStructuralFeature)
Method Detail |
---|
protected InternalEObject.EStore eStore()
protected java.util.List<E> delegateList()
DelegatingEList
delegateList
in class DelegatingEList<E>
public EStructuralFeature getEStructuralFeature()
EStructuralFeature.Setting
getEStructuralFeature
in interface EStructuralFeature.Setting
getEStructuralFeature
in class DelegatingEcoreEList.Dynamic<E>
protected void delegateAdd(int index, java.lang.Object object)
DelegatingEList
delegateAdd
in class DelegatingEList<E>
object
- the object to be added.protected void delegateAdd(java.lang.Object object)
DelegatingEList
delegateAdd
in class DelegatingEList<E>
object
- the object to be added.protected java.util.List<E> delegateBasicList()
DelegatingEList
non-resolving
view of the backing store list.
delegateBasicList
in class DelegatingEList<E>
protected void delegateClear()
DelegatingEList
delegateClear
in class DelegatingEList<E>
protected boolean delegateContains(java.lang.Object object)
DelegatingEList
delegateContains
in class DelegatingEList<E>
object
- the object in question.
protected boolean delegateContainsAll(java.util.Collection<?> collection)
DelegatingEList
delegateContainsAll
in class DelegatingEList<E>
DelegatingEList.contains(java.lang.Object)
,
DelegatingEList.useEquals()
protected E delegateGet(int index)
DelegatingEList
delegateGet
in class DelegatingEList<E>
index
- the position in question.
protected int delegateHashCode()
DelegatingEList
delegateHashCode
in class DelegatingEList<E>
protected int delegateIndexOf(java.lang.Object object)
DelegatingEList
delegateIndexOf
in class DelegatingEList<E>
object
- the object in question.
protected boolean delegateIsEmpty()
DelegatingEList
delegateIsEmpty
in class DelegatingEList<E>
protected java.util.Iterator<E> delegateIterator()
DelegatingEList
delegateIterator
in class DelegatingEList<E>
protected int delegateLastIndexOf(java.lang.Object object)
DelegatingEList
delegateLastIndexOf
in class DelegatingEList<E>
object
- the object in question.
protected java.util.ListIterator<E> delegateListIterator()
DelegatingEList
delegateListIterator
in class DelegatingEList<E>
protected E delegateRemove(int index)
DelegatingEList
delegateRemove
in class DelegatingEList<E>
protected E delegateSet(int index, E object)
DelegatingEList
delegateSet
in class DelegatingEList<E>
object
- the object to set.
protected int delegateSize()
DelegatingEList
delegateSize
in class DelegatingEList<E>
protected java.lang.Object[] delegateToArray()
DelegatingEList
delegateToArray
in class DelegatingEList<E>
protected <T> T[] delegateToArray(T[] array)
DelegatingEList
delegateToArray
in class DelegatingEList<E>
array
- the array that will be filled and returned, if it's big enough;
otherwise, a suitably large array of the same type will be allocated and used instead.
protected E delegateMove(int targetIndex, int sourceIndex)
DelegatingEList
delegateMove
in class DelegatingEList<E>
targetIndex
- the new position for the object in the list.sourceIndex
- the old position of the object in the list.
protected boolean delegateEquals(java.lang.Object object)
DelegatingEList
delegateEquals
in class DelegatingEList<E>
protected java.lang.String delegateToString()
DelegatingEList
delegateToString
in class DelegatingEList<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 |