|
||||||||||
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<FeatureMap.Entry> org.eclipse.emf.ecore.util.DelegatingFeatureMap
public abstract class DelegatingFeatureMap
Nested Class Summary | |
---|---|
static class |
DelegatingFeatureMap.FeatureEIterator<E>
------------------------------------------- |
static class |
DelegatingFeatureMap.FeatureMapEObjectImpl
Temporary for testing purposes only. |
static class |
DelegatingFeatureMap.ResolvingFeatureEIterator<E>
------------------------------------------- |
protected class |
DelegatingFeatureMap.ValueListIteratorImpl<E>
|
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> |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.util.FeatureMap.Internal |
---|
FeatureMap.Internal.Wrapper |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.util.FeatureMap |
---|
FeatureMap.Entry, FeatureMap.Internal, FeatureMap.ValueListIterator<E> |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.util.InternalEList |
---|
InternalEList.Unsettable<E> |
Field Summary | |
---|---|
protected EStructuralFeature |
eStructuralFeature
|
protected FeatureMapUtil.Validator |
featureMapValidator
|
protected FeatureMap.Internal.Wrapper |
wrapper
|
Fields inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList |
---|
owner |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
DelegatingFeatureMap(InternalEObject owner,
EStructuralFeature eStructuralFeature)
|
|
DelegatingFeatureMap(InternalEObject owner,
int featureID)
|
Method Summary | ||
---|---|---|
void |
add(EStructuralFeature feature,
int index,
java.lang.Object object)
|
|
boolean |
add(EStructuralFeature feature,
java.lang.Object object)
|
|
boolean |
add(FeatureMap.Entry object)
Adds the object at the end of the list and returns whether the object was added; if uniqueness is required,
duplicates will be ignored and false will be returned. |
|
void |
add(int index,
EStructuralFeature feature,
java.lang.Object object)
|
|
void |
add(int index,
FeatureMap.Entry object)
Adds the object at the given index in the list. |
|
boolean |
addAll(java.util.Collection<? extends FeatureMap.Entry> collection)
Adds each object of the collection to the end of the list. |
|
boolean |
addAll(EStructuralFeature feature,
java.util.Collection<?> collection)
|
|
boolean |
addAll(EStructuralFeature feature,
int index,
java.util.Collection<?> collection)
|
|
boolean |
addAll(int index,
java.util.Collection<? extends FeatureMap.Entry> collection)
Adds each object of the collection at each successive index in the list and returns whether any objects were added. |
|
boolean |
addAll(int index,
EStructuralFeature feature,
java.util.Collection<?> collection)
|
|
boolean |
addAllUnique(java.util.Collection<? extends FeatureMap.Entry> collection)
Adds each object of the collection to the end of the list; it does no uniqueness checking. |
|
boolean |
addAllUnique(FeatureMap.Entry.Internal[] entries,
int start,
int end)
|
|
boolean |
addAllUnique(int index,
FeatureMap.Entry.Internal[] entries,
int start,
int end)
|
|
void |
addUnique(EStructuralFeature feature,
int index,
java.lang.Object object)
|
|
void |
addUnique(EStructuralFeature feature,
java.lang.Object object)
|
|
void |
addUnique(FeatureMap.Entry.Internal entry)
|
|
void |
addUnique(FeatureMap.Entry object)
Adds the object at the end of the list; it does no uniqueness checking. |
|
NotificationChain |
basicAdd(EStructuralFeature feature,
java.lang.Object object,
NotificationChain notifications)
|
|
boolean |
basicContains(EStructuralFeature feature,
java.lang.Object object)
|
|
boolean |
basicContainsAll(EStructuralFeature feature,
java.util.Collection<?> collection)
|
|
int |
basicIndexOf(EStructuralFeature feature,
java.lang.Object object)
|
|
java.util.Iterator<java.lang.Object> |
basicIterator(EStructuralFeature feature)
|
|
int |
basicLastIndexOf(EStructuralFeature feature,
java.lang.Object object)
|
|
java.util.List<java.lang.Object> |
basicList(EStructuralFeature feature)
|
|
java.util.ListIterator<java.lang.Object> |
basicListIterator(EStructuralFeature feature)
|
|
java.util.ListIterator<java.lang.Object> |
basicListIterator(EStructuralFeature feature,
int index)
|
|
NotificationChain |
basicRemove(EStructuralFeature feature,
java.lang.Object object,
NotificationChain notifications)
|
|
NotificationChain |
basicRemove(java.lang.Object object,
NotificationChain notifications)
Removes the object from the list and returns the potentially updated notification chain; it does no inverse updating. |
|
java.lang.Object[] |
basicToArray(EStructuralFeature feature)
|
|
|
basicToArray(EStructuralFeature feature,
T[] array)
|
|
protected boolean |
canContainNull()
Returns ! |
|
void |
clear(EStructuralFeature feature)
|
|
boolean |
contains(EStructuralFeature feature,
java.lang.Object object)
|
|
protected boolean |
contains(EStructuralFeature feature,
java.lang.Object object,
boolean resolve)
|
|
boolean |
containsAll(EStructuralFeature feature,
java.util.Collection<?> collection)
|
|
protected FeatureMap.Entry |
createEntry(EStructuralFeature eStructuralFeature,
java.lang.Object value)
|
|
protected NotificationImpl |
createNotification(int eventType,
EStructuralFeature feature,
java.lang.Object oldObject,
java.lang.Object newObject,
int index,
boolean wasSet)
|
|
protected FeatureMap.Entry.Internal |
createRawEntry(EStructuralFeature eStructuralFeature,
java.lang.Object value)
|
|
protected boolean |
doAdd(FeatureMap.Entry object)
|
|
void |
doAdd(int index,
FeatureMap.Entry object)
|
|
boolean |
doAddAll(java.util.Collection<? extends FeatureMap.Entry> collection)
|
|
boolean |
doAddAll(int index,
java.util.Collection<? extends FeatureMap.Entry> collection)
|
|
FeatureMap.Entry |
doSet(int index,
FeatureMap.Entry object)
|
|
protected int |
entryIndex(EStructuralFeature feature,
int index)
|
|
FeatureMap |
featureMap()
|
|
java.lang.Object |
get(EStructuralFeature feature,
boolean resolve)
|
|
java.lang.Object |
get(EStructuralFeature feature,
int index,
boolean resolve)
|
|
EStructuralFeature |
getEStructuralFeature()
Returns the specific feature holding a value for the object. |
|
EStructuralFeature |
getEStructuralFeature(int index)
|
|
protected EClassifier |
getFeatureType()
|
|
int |
getModCount()
|
|
java.lang.Object |
getValue(int index)
|
|
FeatureMap.Internal.Wrapper |
getWrapper()
|
|
protected boolean |
hasInverse()
Returns false . |
|
protected boolean |
hasShadow()
Returns false . |
|
int |
indexOf(EStructuralFeature feature,
java.lang.Object object)
|
|
protected int |
indexOf(EStructuralFeature feature,
java.lang.Object object,
boolean resolve)
|
|
NotificationChain |
inverseAdd(FeatureMap.Entry object,
NotificationChain notifications)
Does nothing and returns the notifications . |
|
NotificationChain |
inverseRemove(FeatureMap.Entry object,
NotificationChain notifications)
Does nothing and returns the notifications . |
|
NotificationChain |
inverseTouch(java.lang.Object object,
NotificationChain notifications)
|
|
boolean |
isEmpty(EStructuralFeature feature)
|
|
protected boolean |
isEObject()
|
|
protected boolean |
isMany(EStructuralFeature feature)
|
|
protected boolean |
isResolveProxies(EStructuralFeature feature)
|
|
boolean |
isSet(EStructuralFeature feature)
|
|
protected boolean |
isUnique()
Returns whether objects are constrained to appear at most once in the list. |
|
java.util.Iterator<java.lang.Object> |
iterator(EStructuralFeature feature)
|
|
int |
lastIndexOf(EStructuralFeature feature,
java.lang.Object object)
|
|
protected int |
lastIndexOf(EStructuralFeature feature,
java.lang.Object object,
boolean resolve)
|
|
|
list(EStructuralFeature feature)
|
|
java.util.ListIterator<java.lang.Object> |
listIterator(EStructuralFeature feature)
|
|
java.util.ListIterator<java.lang.Object> |
listIterator(EStructuralFeature feature,
int index)
|
|
java.lang.Object |
move(EStructuralFeature feature,
int targetIndex,
int sourceIndex)
|
|
void |
move(EStructuralFeature feature,
int index,
java.lang.Object object)
|
|
FeatureMap.Entry |
move(int targetIndex,
int sourceIndex)
Moves the object at the source index of the list to the target index of the list and returns the moved object. |
|
java.lang.Object |
remove(EStructuralFeature feature,
int index)
|
|
boolean |
remove(EStructuralFeature feature,
java.lang.Object object)
|
|
boolean |
removeAll(EStructuralFeature feature,
java.util.Collection<?> collection)
|
|
protected EObject |
resolveProxy(EObject eObject)
|
|
java.lang.Object |
resolveProxy(EStructuralFeature feature,
int entryIndex,
int index,
java.lang.Object object)
|
|
boolean |
retainAll(EStructuralFeature feature,
java.util.Collection<?> collection)
|
|
java.lang.Object |
set(EStructuralFeature feature,
int index,
java.lang.Object object)
|
|
void |
set(EStructuralFeature feature,
java.lang.Object object)
|
|
FeatureMap.Entry |
set(int index,
FeatureMap.Entry object)
Sets the object at the index and returns the old object at the index. |
|
void |
set(java.lang.Object newValue)
Set the value held by the feature of the object. |
|
EStructuralFeature.Setting |
setting(EStructuralFeature feature)
|
|
java.lang.Object |
setUnique(EStructuralFeature feature,
int index,
java.lang.Object object)
|
|
java.lang.Object |
setValue(int index,
java.lang.Object value)
|
|
void |
setWrapper(FeatureMap.Internal.Wrapper wrapper)
|
|
NotificationChain |
shadowAdd(FeatureMap.Entry object,
NotificationChain notifications)
Does nothing and returns the notifications . |
|
NotificationChain |
shadowRemove(FeatureMap.Entry object,
NotificationChain notifications)
Does nothing and returns the notifications . |
|
NotificationChain |
shadowSet(FeatureMap.Entry oldObject,
FeatureMap.Entry newObject,
NotificationChain notifications)
Does nothing and returns the notifications . |
|
protected boolean |
shouldUnset(EStructuralFeature feature,
java.lang.Object value)
|
|
int |
size(EStructuralFeature feature)
|
|
java.lang.Object[] |
toArray(EStructuralFeature feature)
|
|
protected java.lang.Object[] |
toArray(EStructuralFeature feature,
boolean resolve)
|
|
|
toArray(EStructuralFeature feature,
T[] array)
|
|
protected
|
toArray(EStructuralFeature feature,
T[] array,
boolean resolve)
|
|
void |
unset(EStructuralFeature feature)
|
|
protected FeatureMap.Entry |
validate(int index,
FeatureMap.Entry object)
Validates a new content object and returns the validated object. |
|
FeatureMap.ValueListIterator<java.lang.Object> |
valueListIterator()
|
|
FeatureMap.ValueListIterator<java.lang.Object> |
valueListIterator(int index)
|
Methods inherited from class org.eclipse.emf.ecore.util.DelegatingEcoreEList |
---|
contains, createNotification, createNotification, dispatchNotification, get, getEObject, getFeature, getFeatureID, getInverseEReference, getInverseFeatureClass, getInverseFeatureID, getNotifier, hasInstanceClass, hasManyInverse, hasNavigableInverse, hasProxies, indexOf, isContainment, isInstance, isNotificationRequired, isSet, lastIndexOf, resolve, resolve, toArray, toArray, unset |
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, addUnique, basicAdd, basicSet, clear, createNotification, createNotificationChain, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddAllUnique, doAddUnique, doAddUnique, doClear, doMove, doRemove, doRemoveAll, doSetUnique, getFeatureID, remove, removeAll, setUnique |
Methods inherited from class org.eclipse.emf.common.util.DelegatingEList |
---|
containsAll, delegateAdd, delegateAdd, delegateBasicList, delegateClear, delegateContains, delegateContainsAll, delegateEquals, delegateGet, delegateHashCode, delegateIndexOf, delegateIsEmpty, delegateIterator, delegateLastIndexOf, delegateList, delegateListIterator, delegateMove, delegateRemove, delegateSet, delegateSize, delegateToArray, delegateToArray, delegateToString, didAdd, didChange, didClear, didMove, didRemove, didSet, doClear, equalObjects, equals, get, getDuplicates, getNonDuplicates, hashCode, isEmpty, iterator, listIterator, listIterator, move, remove, retainAll, size, toString, useEquals |
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.FeatureMap.Internal |
---|
getEObject |
Methods inherited from interface org.eclipse.emf.common.util.EList |
---|
move |
Methods inherited from interface java.util.List |
---|
clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, size, subList, toArray, toArray |
Methods inherited from interface org.eclipse.emf.ecore.util.InternalEList |
---|
addAllUnique, addUnique, basicAdd, basicContains, basicContainsAll, basicGet, basicIndexOf, basicIterator, basicLastIndexOf, basicList, basicListIterator, basicListIterator, basicToArray, basicToArray, setUnique |
Methods inherited from interface org.eclipse.emf.common.util.EList |
---|
move |
Methods inherited from interface java.util.List |
---|
clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, size, subList, toArray, toArray |
Methods inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Setting |
---|
get, isSet, unset |
Field Detail |
---|
protected FeatureMap.Internal.Wrapper wrapper
protected final FeatureMapUtil.Validator featureMapValidator
protected final EStructuralFeature eStructuralFeature
Constructor Detail |
---|
public DelegatingFeatureMap(InternalEObject owner, int featureID)
public DelegatingFeatureMap(InternalEObject owner, EStructuralFeature eStructuralFeature)
Method Detail |
---|
public FeatureMap.Internal.Wrapper getWrapper()
getWrapper
in interface FeatureMap.Internal
public void setWrapper(FeatureMap.Internal.Wrapper wrapper)
setWrapper
in interface FeatureMap.Internal
public FeatureMap featureMap()
featureMap
in interface FeatureMap.Internal.Wrapper
protected FeatureMap.Entry validate(int index, FeatureMap.Entry object)
DelegatingEList
necessary
and returns the argument object.
Clients may throw additional types of runtime exceptions
in order to handle constraint violations.
validate
in class DelegatingEcoreEList<FeatureMap.Entry>
index
- the position of the new content.object
- the new content.
protected boolean isEObject()
isEObject
in class DelegatingEcoreEList<FeatureMap.Entry>
protected boolean isUnique()
DelegatingEList
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 DelegatingEcoreEList<FeatureMap.Entry>
protected boolean canContainNull()
DelegatingNotifyingListImpl
!DelegatingNotifyingListImpl.hasInverse()
.
canContainNull
in class DelegatingEcoreEList<FeatureMap.Entry>
!hasInverse
.protected EClassifier getFeatureType()
getFeatureType
in class DelegatingEcoreEList<FeatureMap.Entry>
public EStructuralFeature getEStructuralFeature()
EStructuralFeature.Setting
getEStructuralFeature
in interface EStructuralFeature.Setting
getEStructuralFeature
in class DelegatingEcoreEList<FeatureMap.Entry>
protected FeatureMap.Entry createEntry(EStructuralFeature eStructuralFeature, java.lang.Object value)
protected FeatureMap.Entry.Internal createRawEntry(EStructuralFeature eStructuralFeature, java.lang.Object value)
protected NotificationImpl createNotification(int eventType, EStructuralFeature feature, java.lang.Object oldObject, java.lang.Object newObject, int index, boolean wasSet)
protected boolean isMany(EStructuralFeature feature)
protected boolean hasInverse()
DelegatingNotifyingListImpl
false
.
hasInverse
in class DelegatingEcoreEList<FeatureMap.Entry>
false
.protected boolean hasShadow()
DelegatingNotifyingListImpl
false
.
hasShadow
in class DelegatingNotifyingListImpl<FeatureMap.Entry>
false
.protected int entryIndex(EStructuralFeature feature, int index)
protected boolean isResolveProxies(EStructuralFeature feature)
public java.lang.Object resolveProxy(EStructuralFeature feature, int entryIndex, int index, java.lang.Object object)
resolveProxy
in interface FeatureMap.Internal
protected EObject resolveProxy(EObject eObject)
resolveProxy
in class DelegatingEcoreEList<FeatureMap.Entry>
public int getModCount()
getModCount
in interface FeatureMap.Internal
public EStructuralFeature getEStructuralFeature(int index)
getEStructuralFeature
in interface FeatureMap
public java.lang.Object getValue(int index)
getValue
in interface FeatureMap
public java.lang.Object setValue(int index, java.lang.Object value)
setValue
in interface FeatureMap
public NotificationChain shadowAdd(FeatureMap.Entry object, NotificationChain notifications)
DelegatingNotifyingListImpl
notifications
.
Clients can override this to update the inverse of a bidirectional relation.
shadowAdd
in class DelegatingNotifyingListImpl<FeatureMap.Entry>
object
- the object that's been added to the list.notifications
- the chain of accumulating notifications.
notifications
.public NotificationChain inverseAdd(FeatureMap.Entry object, NotificationChain notifications)
DelegatingNotifyingListImpl
notifications
.
Clients can override this to update the inverse of a bidirectional relation.
inverseAdd
in class DelegatingEcoreEList<FeatureMap.Entry>
object
- the object that's been added to the list.notifications
- the chain of accumulating notifications.
notifications
.public NotificationChain shadowRemove(FeatureMap.Entry object, NotificationChain notifications)
DelegatingNotifyingListImpl
notifications
.
Clients can override this to update the inverse of a bidirectional relation.
shadowRemove
in class DelegatingNotifyingListImpl<FeatureMap.Entry>
object
- the object that's been remove from the list.notifications
- the chain of accumulating notifications.
notifications
.public NotificationChain inverseRemove(FeatureMap.Entry object, NotificationChain notifications)
DelegatingNotifyingListImpl
notifications
.
Clients can override this to update the inverse of a bidirectional relation.
inverseRemove
in class DelegatingEcoreEList<FeatureMap.Entry>
object
- the object that's been remove from the list.notifications
- the chain of accumulating notifications.
notifications
.public NotificationChain shadowSet(FeatureMap.Entry oldObject, FeatureMap.Entry newObject, NotificationChain notifications)
DelegatingNotifyingListImpl
notifications
.
Clients can override this to update the inverse of a bidirectional relation.
shadowSet
in class DelegatingNotifyingListImpl<FeatureMap.Entry>
oldObject
- the object that's been removed from the list.newObject
- the object that's been added to the list.notifications
- the chain of accumulating notifications.
notifications
.public NotificationChain inverseTouch(java.lang.Object object, NotificationChain notifications)
public FeatureMap.Entry move(int targetIndex, int sourceIndex)
DelegatingNotifyingListImpl
required
.
move
in interface EList<FeatureMap.Entry>
move
in class DelegatingNotifyingListImpl<FeatureMap.Entry>
targetIndex
- the new position for the object in the list.sourceIndex
- the old position of the object in the list.
DelegatingNotifyingListImpl.isNotificationRequired()
public FeatureMap.Entry set(int index, FeatureMap.Entry object)
DelegatingEList
setUnique
after range checking and after uniqueness
checking.
set
in interface java.util.List<FeatureMap.Entry>
set
in class DelegatingEList<FeatureMap.Entry>
index
- the position in question.object
- the object to set.
DelegatingEList.setUnique(int, E)
public FeatureMap.Entry doSet(int index, FeatureMap.Entry object)
public boolean add(FeatureMap.Entry object)
DelegatingEList
uniqueness
is required,
duplicates will be ignored and false
will be returned.
This implementation delegates to addUnique(Object)
after uniqueness checking.
add
in interface java.util.Collection<FeatureMap.Entry>
add
in interface java.util.List<FeatureMap.Entry>
add
in class DelegatingEList<FeatureMap.Entry>
object
- the object to be added.
DelegatingEList.addUnique(Object)
protected boolean doAdd(FeatureMap.Entry object)
public void add(int index, FeatureMap.Entry object)
DelegatingEList
uniqueness
is required,
duplicates will be ignored.
This implementation delegates to addUnique(int, Object)
after uniqueness checking.
add
in interface java.util.List<FeatureMap.Entry>
add
in class DelegatingEList<FeatureMap.Entry>
object
- the object to be added.DelegatingEList.addUnique(int, Object)
public void doAdd(int index, FeatureMap.Entry object)
public boolean addAll(java.util.Collection<? extends FeatureMap.Entry> collection)
DelegatingEList
uniqueness
is required,
duplicates will be removed
from the collection,
which could even result in an empty collection.
This implementation delegates to addAllUnique(Collection)
after uniqueness checking.
addAll
in interface java.util.Collection<FeatureMap.Entry>
addAll
in interface java.util.List<FeatureMap.Entry>
addAll
in class DelegatingEList<FeatureMap.Entry>
collection
- the collection of objects to be added.DelegatingEList.addAllUnique(Collection)
public boolean doAddAll(java.util.Collection<? extends FeatureMap.Entry> collection)
public boolean addAll(int index, java.util.Collection<? extends FeatureMap.Entry> collection)
DelegatingEList
uniqueness
is required,
duplicates will be removed
from the collection,
which could even result in an empty collection.
This implementation delegates to addAllUnique(int, Collection)
after uniqueness checking.
addAll
in interface java.util.List<FeatureMap.Entry>
addAll
in class DelegatingEList<FeatureMap.Entry>
index
- the index at which to add.collection
- the collection of objects to be added.
DelegatingEList.addAllUnique(int, Collection)
public boolean doAddAll(int index, java.util.Collection<? extends FeatureMap.Entry> collection)
public int size(EStructuralFeature feature)
size
in interface FeatureMap.Internal
public boolean isEmpty(EStructuralFeature feature)
isEmpty
in interface FeatureMap.Internal
public boolean contains(EStructuralFeature feature, java.lang.Object object)
contains
in interface FeatureMap.Internal
public boolean basicContains(EStructuralFeature feature, java.lang.Object object)
basicContains
in interface FeatureMap.Internal
protected boolean contains(EStructuralFeature feature, java.lang.Object object, boolean resolve)
public boolean containsAll(EStructuralFeature feature, java.util.Collection<?> collection)
containsAll
in interface FeatureMap.Internal
public boolean basicContainsAll(EStructuralFeature feature, java.util.Collection<?> collection)
basicContainsAll
in interface FeatureMap.Internal
public int indexOf(EStructuralFeature feature, java.lang.Object object)
indexOf
in interface FeatureMap.Internal
public int basicIndexOf(EStructuralFeature feature, java.lang.Object object)
basicIndexOf
in interface FeatureMap.Internal
protected int indexOf(EStructuralFeature feature, java.lang.Object object, boolean resolve)
public int lastIndexOf(EStructuralFeature feature, java.lang.Object object)
lastIndexOf
in interface FeatureMap.Internal
public int basicLastIndexOf(EStructuralFeature feature, java.lang.Object object)
basicLastIndexOf
in interface FeatureMap.Internal
protected int lastIndexOf(EStructuralFeature feature, java.lang.Object object, boolean resolve)
public java.util.Iterator<java.lang.Object> iterator(EStructuralFeature feature)
iterator
in interface FeatureMap.Internal
public java.util.ListIterator<java.lang.Object> listIterator(EStructuralFeature feature)
listIterator
in interface FeatureMap.Internal
public java.util.ListIterator<java.lang.Object> listIterator(EStructuralFeature feature, int index)
listIterator
in interface FeatureMap.Internal
public FeatureMap.ValueListIterator<java.lang.Object> valueListIterator()
valueListIterator
in interface FeatureMap
public FeatureMap.ValueListIterator<java.lang.Object> valueListIterator(int index)
valueListIterator
in interface FeatureMap
public <T> EList<T> list(EStructuralFeature feature)
list
in interface FeatureMap
public EStructuralFeature.Setting setting(EStructuralFeature feature)
setting
in interface FeatureMap.Internal
public java.util.List<java.lang.Object> basicList(EStructuralFeature feature)
basicList
in interface FeatureMap.Internal
public java.util.Iterator<java.lang.Object> basicIterator(EStructuralFeature feature)
basicIterator
in interface FeatureMap.Internal
public java.util.ListIterator<java.lang.Object> basicListIterator(EStructuralFeature feature)
basicListIterator
in interface FeatureMap.Internal
public java.util.ListIterator<java.lang.Object> basicListIterator(EStructuralFeature feature, int index)
basicListIterator
in interface FeatureMap.Internal
public java.lang.Object[] toArray(EStructuralFeature feature)
toArray
in interface FeatureMap.Internal
public java.lang.Object[] basicToArray(EStructuralFeature feature)
basicToArray
in interface FeatureMap.Internal
protected java.lang.Object[] toArray(EStructuralFeature feature, boolean resolve)
public <T> T[] toArray(EStructuralFeature feature, T[] array)
toArray
in interface FeatureMap.Internal
public <T> T[] basicToArray(EStructuralFeature feature, T[] array)
basicToArray
in interface FeatureMap.Internal
protected <T> T[] toArray(EStructuralFeature feature, T[] array, boolean resolve)
public void set(EStructuralFeature feature, java.lang.Object object)
set
in interface FeatureMap
protected boolean shouldUnset(EStructuralFeature feature, java.lang.Object value)
public void add(int index, EStructuralFeature feature, java.lang.Object object)
add
in interface FeatureMap
public boolean add(EStructuralFeature feature, java.lang.Object object)
add
in interface FeatureMap
public void add(EStructuralFeature feature, int index, java.lang.Object object)
add
in interface FeatureMap.Internal
public boolean addAll(int index, EStructuralFeature feature, java.util.Collection<?> collection)
addAll
in interface FeatureMap
public boolean addAll(EStructuralFeature feature, java.util.Collection<?> collection)
addAll
in interface FeatureMap
public boolean addAll(EStructuralFeature feature, int index, java.util.Collection<?> collection)
addAll
in interface FeatureMap.Internal
public void addUnique(EStructuralFeature feature, java.lang.Object object)
addUnique
in interface FeatureMap.Internal
public void addUnique(EStructuralFeature feature, int index, java.lang.Object object)
addUnique
in interface FeatureMap.Internal
public void addUnique(FeatureMap.Entry object)
DelegatingNotifyingListImpl
required
and delegates to inverseAdd
as required
.
addUnique
in interface InternalEList<FeatureMap.Entry>
addUnique
in class DelegatingNotifyingListImpl<FeatureMap.Entry>
object
- the object to be added.DelegatingNotifyingListImpl.isNotificationRequired()
,
DelegatingNotifyingListImpl.hasInverse()
,
DelegatingNotifyingListImpl.inverseAdd(E, org.eclipse.emf.common.notify.NotificationChain)
public void addUnique(FeatureMap.Entry.Internal entry)
addUnique
in interface FeatureMap.Internal
public boolean addAllUnique(java.util.Collection<? extends FeatureMap.Entry> collection)
DelegatingNotifyingListImpl
addAllUnique(int, Collection)
.
addAllUnique
in interface FeatureMap.Internal
addAllUnique
in interface InternalEList<FeatureMap.Entry>
addAllUnique
in class DelegatingNotifyingListImpl<FeatureMap.Entry>
collection
- the collection of objects to be added.DelegatingNotifyingListImpl.inverseAdd(E, org.eclipse.emf.common.notify.NotificationChain)
public boolean addAllUnique(FeatureMap.Entry.Internal[] entries, int start, int end)
addAllUnique
in interface FeatureMap.Internal
public boolean addAllUnique(int index, FeatureMap.Entry.Internal[] entries, int start, int end)
addAllUnique
in interface FeatureMap.Internal
public NotificationChain basicAdd(EStructuralFeature feature, java.lang.Object object, NotificationChain notifications)
basicAdd
in interface FeatureMap.Internal
public boolean remove(EStructuralFeature feature, java.lang.Object object)
remove
in interface FeatureMap.Internal
public java.lang.Object remove(EStructuralFeature feature, int index)
remove
in interface FeatureMap.Internal
public boolean removeAll(EStructuralFeature feature, java.util.Collection<?> collection)
removeAll
in interface FeatureMap.Internal
public NotificationChain basicRemove(EStructuralFeature feature, java.lang.Object object, NotificationChain notifications)
basicRemove
in interface FeatureMap.Internal
public boolean retainAll(EStructuralFeature feature, java.util.Collection<?> collection)
retainAll
in interface FeatureMap.Internal
public void clear(EStructuralFeature feature)
clear
in interface FeatureMap.Internal
public void move(EStructuralFeature feature, int index, java.lang.Object object)
move
in interface FeatureMap.Internal
public java.lang.Object move(EStructuralFeature feature, int targetIndex, int sourceIndex)
move
in interface FeatureMap.Internal
public java.lang.Object get(EStructuralFeature feature, boolean resolve)
get
in interface FeatureMap
public java.lang.Object get(EStructuralFeature feature, int index, boolean resolve)
get
in interface FeatureMap.Internal
public java.lang.Object set(EStructuralFeature feature, int index, java.lang.Object object)
set
in interface FeatureMap.Internal
public java.lang.Object setUnique(EStructuralFeature feature, int index, java.lang.Object object)
setUnique
in interface FeatureMap.Internal
public boolean isSet(EStructuralFeature feature)
isSet
in interface FeatureMap
public void unset(EStructuralFeature feature)
unset
in interface FeatureMap
public NotificationChain basicRemove(java.lang.Object object, NotificationChain notifications)
DelegatingNotifyingListImpl
inverse
updating.
This implementation generates notifications as required
.
basicRemove
in interface InternalEList<FeatureMap.Entry>
basicRemove
in class DelegatingNotifyingListImpl<FeatureMap.Entry>
object
- the object to be removed.
DelegatingNotifyingListImpl.isNotificationRequired()
,
DelegatingNotifyingListImpl.hasInverse()
,
DelegatingNotifyingListImpl.inverseRemove(E, org.eclipse.emf.common.notify.NotificationChain)
public void set(java.lang.Object newValue)
EStructuralFeature.Setting
set
in interface EStructuralFeature.Setting
set
in class DelegatingEcoreEList<FeatureMap.Entry>
newValue
- the newValue.EObject.eSet(EStructuralFeature, Object)
|
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 |