|
||||||||||
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.BasicEList<E> org.eclipse.emf.common.notify.impl.NotifyingListImpl<E> org.eclipse.emf.ecore.util.NotifyingInternalEListImpl<E> org.eclipse.emf.ecore.util.EcoreEList<E> org.eclipse.emf.ecore.util.EDataTypeEList<FeatureMap.Entry> org.eclipse.emf.ecore.util.BasicFeatureMap
public class BasicFeatureMap
Nested Class Summary | |
---|---|
static class |
BasicFeatureMap.FeatureEIterator<E>
------------------------------------------- |
static class |
BasicFeatureMap.FeatureMapEObjectImpl
Temporary for testing purposes only. |
static class |
BasicFeatureMap.ResolvingFeatureEIterator<E>
------------------------------------------- |
protected class |
BasicFeatureMap.ValueListIteratorImpl<E1>
|
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.util.EDataTypeEList |
---|
EDataTypeEList.Unsettable<E> |
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.util.EcoreEList |
---|
EcoreEList.Dynamic<E>, EcoreEList.Generic<E>, EcoreEList.UnmodifiableEList<E> |
Nested classes/interfaces inherited from class org.eclipse.emf.common.util.BasicEList |
---|
BasicEList.BasicIndexOutOfBoundsException, BasicEList.EIterator<E1>, BasicEList.EListIterator<E1>, BasicEList.FastCompare<E>, BasicEList.NonResolvingEIterator<E1>, BasicEList.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 FeatureMapUtil.Validator |
featureMapValidator
|
protected FeatureMap.Internal.Wrapper |
wrapper
|
Fields inherited from class org.eclipse.emf.ecore.util.EDataTypeEList |
---|
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 | |
---|---|
BasicFeatureMap(InternalEObject owner,
int featureID)
|
|
BasicFeatureMap(InternalEObject owner,
int featureID,
EStructuralFeature eStructuralFeature)
|
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)
|
|
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(int index)
|
|
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.Internal entry,
NotificationChain notifications)
|
|
NotificationChain |
inverseAdd(FeatureMap.Entry object,
NotificationChain notifications)
Does nothing and returns the notifications . |
|
NotificationChain |
inverseRemove(FeatureMap.Entry.Internal entry,
NotificationChain 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 |
isMany(EStructuralFeature feature)
|
|
protected boolean |
isResolveProxies(EStructuralFeature feature)
|
|
boolean |
isSet(EStructuralFeature feature)
|
|
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. |
|
protected java.lang.Object[] |
newData(int capacity)
Returns new allocated data storage. |
|
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.Internal entry,
NotificationChain notifications)
|
|
NotificationChain |
shadowAdd(FeatureMap.Entry object,
NotificationChain notifications)
Does nothing and returns the notifications . |
|
NotificationChain |
shadowRemove(FeatureMap.Entry.Internal entry,
NotificationChain 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.EDataTypeEList |
---|
getFeatureID, isEObject, resolve |
Methods inherited from class org.eclipse.emf.ecore.util.EcoreEList |
---|
contains, createNotification, createNotification, dispatchNotification, get, getEObject, getEStructuralFeature, getFeature, getFeatureType, 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.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, addUnique, basicAdd, basicSet, canContainNull, 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.BasicEList |
---|
assign, basicGet, clone, containsAll, data, didAdd, didChange, didClear, didMove, didRemove, didSet, equalObjects, equals, get, getDuplicates, getNonDuplicates, grow, hashCode, isEmpty, isUnique, iterator, listIterator, listIterator, move, remove, retainAll, setData, shrink, size, toString, useEquals |
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.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, getEStructuralFeature, isSet, unset |
Field Detail |
---|
protected FeatureMap.Internal.Wrapper wrapper
protected final FeatureMapUtil.Validator featureMapValidator
Constructor Detail |
---|
public BasicFeatureMap(InternalEObject owner, int featureID)
public BasicFeatureMap(InternalEObject owner, int featureID, 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 java.lang.Object[] newData(int capacity)
BasicEList
newData
in class EcoreEList<FeatureMap.Entry>
protected FeatureMap.Entry validate(int index, FeatureMap.Entry object)
BasicEList
necessary
and returns the argument object.
Clients may throw additional types of runtime exceptions
in order to handle constraint violations.
validate
in class EcoreEList<FeatureMap.Entry>
index
- the position of the new content.object
- the new content.
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()
NotifyingListImpl
false
.
hasInverse
in class NotifyingListImpl<FeatureMap.Entry>
false
.protected boolean hasShadow()
NotifyingListImpl
false
.
hasShadow
in class NotifyingListImpl<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 EcoreEList<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)
NotifyingListImpl
notifications
.
Clients can override this to update the inverse of a bidirectional relation.
shadowAdd
in class NotifyingListImpl<FeatureMap.Entry>
object
- the object that's been added to the list.notifications
- the chain of accumulating notifications.
notifications
.public NotificationChain shadowAdd(FeatureMap.Entry.Internal entry, NotificationChain notifications)
public NotificationChain inverseAdd(FeatureMap.Entry object, NotificationChain notifications)
NotifyingListImpl
notifications
.
Clients can override this to update the inverse of a bidirectional relation.
inverseAdd
in class EcoreEList<FeatureMap.Entry>
object
- the object that's been added to the list.notifications
- the chain of accumulating notifications.
notifications
.public NotificationChain inverseAdd(FeatureMap.Entry.Internal entry, NotificationChain notifications)
public NotificationChain shadowRemove(FeatureMap.Entry object, NotificationChain notifications)
NotifyingListImpl
notifications
.
Clients can override this to update the inverse of a bidirectional relation.
shadowRemove
in class NotifyingListImpl<FeatureMap.Entry>
object
- the object that's been remove from the list.notifications
- the chain of accumulating notifications.
notifications
.public NotificationChain shadowRemove(FeatureMap.Entry.Internal entry, NotificationChain notifications)
public NotificationChain inverseRemove(FeatureMap.Entry object, NotificationChain notifications)
NotifyingListImpl
notifications
.
Clients can override this to update the inverse of a bidirectional relation.
inverseRemove
in class EcoreEList<FeatureMap.Entry>
object
- the object that's been remove from the list.notifications
- the chain of accumulating notifications.
notifications
.public NotificationChain inverseRemove(FeatureMap.Entry.Internal entry, NotificationChain notifications)
public NotificationChain shadowSet(FeatureMap.Entry oldObject, FeatureMap.Entry newObject, NotificationChain notifications)
NotifyingListImpl
notifications
.
Clients can override this to update the inverse of a bidirectional relation.
shadowSet
in class NotifyingListImpl<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)
NotifyingListImpl
required
.
move
in interface EList<FeatureMap.Entry>
move
in class NotifyingListImpl<FeatureMap.Entry>
targetIndex
- the new position for the object in the list.sourceIndex
- the old position of the object in the list.
NotifyingListImpl.isNotificationRequired()
public FeatureMap.Entry set(int index, FeatureMap.Entry object)
BasicEList
setUnique
after range checking and after uniqueness
checking.
set
in interface java.util.List<FeatureMap.Entry>
set
in class BasicEList<FeatureMap.Entry>
index
- the position in question.object
- the object to set.
BasicEList.setUnique(int, E)
public FeatureMap.Entry doSet(int index, FeatureMap.Entry object)
public boolean add(FeatureMap.Entry object)
BasicEList
uniqueness
is required,
duplicates will be ignored and false
will be returned.
This implementation delegates to addUnique(E)
after uniqueness checking.
add
in interface java.util.Collection<FeatureMap.Entry>
add
in interface java.util.List<FeatureMap.Entry>
add
in class BasicEList<FeatureMap.Entry>
object
- the object to be added.
BasicEList.addUnique(Object)
protected boolean doAdd(FeatureMap.Entry object)
public void add(int index, FeatureMap.Entry object)
BasicEList
uniqueness
is required,
duplicates will be ignored.
This implementation delegates to addUnique(int, E)
after uniqueness checking.
add
in interface java.util.List<FeatureMap.Entry>
add
in class BasicEList<FeatureMap.Entry>
object
- the object to be added.BasicEList.addUnique(int, Object)
public void doAdd(int index, FeatureMap.Entry object)
public boolean addAll(java.util.Collection<? extends FeatureMap.Entry> collection)
BasicEList
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 BasicEList<FeatureMap.Entry>
collection
- the collection of objects to be added.BasicEList.addAllUnique(Collection)
public boolean doAddAll(java.util.Collection<? extends FeatureMap.Entry> collection)
public boolean addAll(int index, java.util.Collection<? extends FeatureMap.Entry> collection)
BasicEList
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 BasicEList<FeatureMap.Entry>
index
- the index at which to add.collection
- the collection of objects to be added.
BasicEList.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)
NotifyingListImpl
required
and delegates to inverseAdd
as required
.
addUnique
in interface InternalEList<FeatureMap.Entry>
addUnique
in class NotifyingListImpl<FeatureMap.Entry>
object
- the object to be added.NotifyingListImpl.isNotificationRequired()
,
NotifyingListImpl.hasInverse()
,
NotifyingListImpl.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)
NotifyingListImpl
addAllUnique(int, Collection)
.
addAllUnique
in interface FeatureMap.Internal
addAllUnique
in interface InternalEList<FeatureMap.Entry>
addAllUnique
in class NotifyingListImpl<FeatureMap.Entry>
collection
- the collection of objects to be added.NotifyingListImpl.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)
NotifyingListImpl
inverse
updating.
This implementation generates notifications as required
.
basicRemove
in interface InternalEList<FeatureMap.Entry>
basicRemove
in class NotifyingListImpl<FeatureMap.Entry>
object
- the object to be removed.
NotifyingListImpl.isNotificationRequired()
,
NotifyingListImpl.hasInverse()
,
NotifyingListImpl.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 EcoreEList<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 |