public static class EcoreEList.UnmodifiableEList<E> extends BasicEList.UnmodifiableEList<E> implements InternalEList.Unsettable<E>, EStructuralFeature.Setting
| Modifier and Type | Class and Description |
|---|---|
static class |
EcoreEList.UnmodifiableEList.FastCompare<E> |
BasicEList.BasicIndexOutOfBoundsException, BasicEList.EIterator<E1>, BasicEList.EListIterator<E1>, BasicEList.NonResolvingEIterator<E1>, BasicEList.NonResolvingEListIterator<E1>, BasicEList.UnmodifiableEList<E>InternalEList.Unsettable<E>| Modifier and Type | Field and Description |
|---|---|
protected EStructuralFeature |
eStructuralFeature |
protected InternalEObject |
owner |
data, size| Constructor and Description |
|---|
EcoreEList.UnmodifiableEList(InternalEObject owner,
EStructuralFeature eStructuralFeature,
int size,
java.lang.Object[] data) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
int |
basicIndexOf(java.lang.Object object)
Returns the index of the object within the list of unresolved values.
|
java.util.Iterator<E> |
basicIterator()
Returns a read-only iterator that does not
resolve objects. |
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 unsafe list that provides a
non-resolving view of the underlying data storage. |
java.util.ListIterator<E> |
basicListIterator()
Returns a read-only list iterator that does not
resolve objects. |
java.util.ListIterator<E> |
basicListIterator(int index)
Returns a read-only list iterator advanced to the given index that does not
resolve objects. |
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.
|
java.lang.Object |
get(boolean resolve)
Returns the value held by the feature of the object;
it optionally
resolves the value. |
EObject |
getEObject()
Returns the object holding a value.
|
EStructuralFeature |
getEStructuralFeature()
Returns the specific feature holding a value for the object.
|
boolean |
isSet()
Returns whether a value is held by the feature of the object.
|
void |
set(java.lang.Object newValue)
Set the value held by the feature of the object.
|
void |
unset()
Unsets the value held by the feature of the object.
|
add, add, addAll, addAll, clear, grow, iterator, listIterator, listIterator, move, move, remove, remove, removeAll, retainAll, set, shrinkaddAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, assign, basicGet, clone, contains, data, get, indexOf, isEmpty, lastIndexOf, newData, primitiveGet, setData, setUnique, size, toArray, toArraycanContainNull, didAdd, didChange, didClear, didMove, didRemove, didSet, equalObjects, equals, getDuplicates, getNonDuplicates, hashCode, isUnique, resolve, toString, useEquals, validatefinalize, getClass, notify, notifyAll, wait, wait, waitaddAllUnique, addAllUnique, addUnique, addUnique, basicGet, setUniqueprotected final InternalEObject owner
protected final EStructuralFeature eStructuralFeature
public EcoreEList.UnmodifiableEList(InternalEObject owner, EStructuralFeature eStructuralFeature, int size, java.lang.Object[] data)
public java.util.List<E> basicList()
BasicEListnon-resolving view of the underlying data storage.basicList in interface InternalEList<E>basicList in class BasicEList<E>public java.util.Iterator<E> basicIterator()
AbstractEListresolve objects.
This implementation allocates a AbstractEList.NonResolvingEIterator.basicIterator in interface InternalEList<E>basicIterator in class AbstractEList<E>public java.util.ListIterator<E> basicListIterator()
AbstractEListresolve objects.
This implementation allocates a AbstractEList.NonResolvingEListIterator.basicListIterator in interface InternalEList<E>basicListIterator in class AbstractEList<E>public java.util.ListIterator<E> basicListIterator(int index)
AbstractEListresolve objects.
This implementation allocates a AbstractEList.NonResolvingEListIterator.basicListIterator in interface InternalEList<E>basicListIterator in class AbstractEList<E>index - the starting index.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 EObject getEObject()
EStructuralFeature.SettinggetEObject in interface EStructuralFeature.Settingpublic EStructuralFeature getEStructuralFeature()
EStructuralFeature.SettinggetEStructuralFeature in interface EStructuralFeature.Settingpublic 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 NotificationChain basicRemove(java.lang.Object object, NotificationChain notifications)
InternalEListbasicRemove in interface InternalEList<E>public NotificationChain basicAdd(E object, NotificationChain notifications)
InternalEListbasicAdd in interface InternalEList<E>