public static class FeatureMapUtil.FeatureEList<E> extends java.util.AbstractList<E> implements InternalEList.Unsettable<E>, EStructuralFeature.Setting
| Modifier and Type | Class and Description |
|---|---|
static class |
FeatureMapUtil.FeatureEList.Basic<E> |
InternalEList.Unsettable<E>| Modifier and Type | Field and Description |
|---|---|
protected EStructuralFeature |
feature |
protected FeatureMap.Internal |
featureMap |
| Constructor and Description |
|---|
FeatureMapUtil.FeatureEList(EStructuralFeature feature,
FeatureMap.Internal featureMap) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
java.lang.Object object) |
boolean |
add(java.lang.Object object) |
boolean |
addAll(java.util.Collection<? extends E> collection) |
boolean |
addAll(int index,
java.util.Collection<? extends E> collection) |
boolean |
addAllUnique(java.util.Collection<? extends E> collection)
Adds the objects without verifying uniqueness.
|
boolean |
addAllUnique(FeatureMap.Entry.Internal[] entries,
int start,
int end) |
boolean |
addAllUnique(int index,
java.util.Collection<? extends E> collection)
Adds the objects without verifying uniqueness.
|
boolean |
addAllUnique(int index,
FeatureMap.Entry.Internal[] entries,
int start,
int end) |
void |
addUnique(FeatureMap.Entry.Internal entry) |
void |
addUnique(int index,
java.lang.Object object)
Adds the object without verifying uniqueness.
|
void |
addUnique(java.lang.Object object)
Adds the object without verifying uniqueness.
|
NotificationChain |
basicAdd(E object,
NotificationChain notifications)
Adds the object without updating the inverse.
|
boolean |
basicContains(java.lang.Object object)
Returns whether the object is contained within the list of unresolved values.
|
boolean |
basicContainsAll(java.util.Collection<?> collection)
Returns whether each object in the collection is contained within the list of unresolved values.
|
E |
basicGet(int index)
Returns the unresolved value.
|
int |
basicIndexOf(java.lang.Object object)
Returns the index of the object within the list of unresolved values.
|
java.util.Iterator<E> |
basicIterator()
Returns an iterator that yields unresolved values.
|
int |
basicLastIndexOf(java.lang.Object object)
Returns the last index of the object within the list of unresolved values.
|
java.util.List<E> |
basicList()
Returns an unmodifiable list that yields unresolved values.
|
java.util.ListIterator<E> |
basicListIterator()
Returns a list iterator that yields unresolved values.
|
java.util.ListIterator<E> |
basicListIterator(int index)
Returns a list iterator that yields unresolved values.
|
NotificationChain |
basicRemove(java.lang.Object object,
NotificationChain notifications)
Removes the object with without updating the inverse.
|
java.lang.Object[] |
basicToArray()
Returns the array with unresolved values.
|
<T> T[] |
basicToArray(T[] array)
Returns the array with unresolved values.
|
void |
clear() |
boolean |
contains(java.lang.Object object) |
boolean |
containsAll(java.util.Collection<?> collection) |
java.lang.Object |
get(boolean resolve)
Returns the value held by the feature of the object;
it optionally
resolves the value. |
E |
get(int index) |
EObject |
getEObject()
Returns the object holding a value.
|
EStructuralFeature |
getEStructuralFeature()
Returns the specific feature holding a value for the object.
|
java.lang.Object |
getFeature() |
int |
getFeatureID() |
int |
indexOf(java.lang.Object object) |
boolean |
isEmpty() |
boolean |
isSet()
Returns whether a value is held by the feature of the object.
|
java.util.Iterator<E> |
iterator() |
int |
lastIndexOf(java.lang.Object object) |
java.util.ListIterator<E> |
listIterator() |
java.util.ListIterator<E> |
listIterator(int index) |
E |
move(int targetIndex,
int sourceIndex)
Moves the object from the old position to the new position.
|
void |
move(int index,
java.lang.Object object)
Moves the object to the new position, if is in the list.
|
E |
remove(int index) |
boolean |
remove(java.lang.Object object) |
boolean |
removeAll(java.util.Collection<?> collection) |
boolean |
retainAll(java.util.Collection<?> collection) |
E |
set(int index,
E object) |
void |
set(java.lang.Object newValue)
Set the value held by the feature of the object.
|
E |
setUnique(int index,
E object)
Sets the object without verifying uniqueness.
|
int |
size() |
java.lang.Object[] |
toArray() |
<T> T[] |
toArray(T[] array) |
java.lang.String |
toString() |
void |
unset()
Unsets the value held by the feature of the object.
|
protected EStructuralFeature feature
protected FeatureMap.Internal featureMap
public FeatureMapUtil.FeatureEList(EStructuralFeature feature, FeatureMap.Internal featureMap)
public int size()
public boolean isEmpty()
public boolean contains(java.lang.Object object)
public int indexOf(java.lang.Object object)
public int lastIndexOf(java.lang.Object object)
public boolean containsAll(java.util.Collection<?> collection)
public java.util.Iterator<E> iterator()
public java.util.ListIterator<E> listIterator()
public java.util.ListIterator<E> listIterator(int index)
public E basicGet(int index)
InternalEListbasicGet in interface InternalEList<E>public java.util.List<E> basicList()
InternalEListbasicList in interface InternalEList<E>public java.util.Iterator<E> basicIterator()
InternalEListbasicIterator in interface InternalEList<E>public java.util.ListIterator<E> basicListIterator()
InternalEListbasicListIterator in interface InternalEList<E>public java.util.ListIterator<E> basicListIterator(int index)
InternalEListbasicListIterator in interface InternalEList<E>public java.lang.Object[] toArray()
public <T> T[] toArray(T[] array)
public boolean basicContains(java.lang.Object object)
InternalEListbasicContains in interface InternalEList<E>public boolean basicContainsAll(java.util.Collection<?> collection)
InternalEListbasicContainsAll in interface InternalEList<E>public int basicIndexOf(java.lang.Object object)
InternalEListbasicIndexOf in interface InternalEList<E>public int basicLastIndexOf(java.lang.Object object)
InternalEListbasicLastIndexOf in interface InternalEList<E>public java.lang.Object[] basicToArray()
InternalEListbasicToArray in interface InternalEList<E>public <T> T[] basicToArray(T[] array)
InternalEListbasicToArray in interface InternalEList<E>public boolean add(java.lang.Object object)
public void add(int index,
java.lang.Object object)
public boolean addAll(java.util.Collection<? extends E> collection)
public boolean addAll(int index,
java.util.Collection<? extends E> collection)
public void addUnique(java.lang.Object object)
InternalEListaddUnique in interface InternalEList<E>public void addUnique(int index,
java.lang.Object object)
InternalEListaddUnique in interface InternalEList<E>public boolean addAllUnique(java.util.Collection<? extends E> collection)
InternalEListaddAllUnique in interface InternalEList<E>public boolean addAllUnique(int index,
java.util.Collection<? extends E> collection)
InternalEListaddAllUnique in interface InternalEList<E>public void addUnique(FeatureMap.Entry.Internal entry)
public boolean addAllUnique(FeatureMap.Entry.Internal[] entries, int start, int end)
public boolean addAllUnique(int index,
FeatureMap.Entry.Internal[] entries,
int start,
int end)
public NotificationChain basicAdd(E object, NotificationChain notifications)
InternalEListbasicAdd in interface InternalEList<E>public boolean remove(java.lang.Object object)
public E remove(int index)
public NotificationChain basicRemove(java.lang.Object object, NotificationChain notifications)
InternalEListbasicRemove in interface InternalEList<E>public boolean removeAll(java.util.Collection<?> collection)
public boolean retainAll(java.util.Collection<?> collection)
public void clear()
public void move(int index,
java.lang.Object object)
EListpublic E move(int targetIndex, int sourceIndex)
EListpublic E get(int index)
public E setUnique(int index, E object)
InternalEListsetUnique in interface InternalEList<E>public java.lang.Object get(boolean resolve)
EStructuralFeature.Settingresolves the value.get in interface EStructuralFeature.Settingresolve - whether to resolve.EObject.eGet(EStructuralFeature, boolean)public void set(java.lang.Object newValue)
EStructuralFeature.Settingset in interface EStructuralFeature.SettingnewValue - the newValue.EObject.eSet(EStructuralFeature, Object)public boolean isSet()
InternalEList.UnsettableisSet in interface EStructuralFeature.SettingisSet in interface InternalEList.Unsettable<E>EObject.eIsSet(org.eclipse.emf.ecore.EStructuralFeature)public void unset()
InternalEList.Unsettableunset in interface EStructuralFeature.Settingunset in interface InternalEList.Unsettable<E>EObject.eUnset(org.eclipse.emf.ecore.EStructuralFeature)public java.lang.Object getFeature()
public int getFeatureID()
public EStructuralFeature getEStructuralFeature()
EStructuralFeature.SettinggetEStructuralFeature in interface EStructuralFeature.Settingpublic EObject getEObject()
EStructuralFeature.SettinggetEObject in interface EStructuralFeature.Settingpublic java.lang.String toString()
toString in class java.util.AbstractCollection<E>