public interface InternalEList<E> extends EList<E>
value
of multi-valued
feature
is expected to implement.
Clients should generally extend one of the the existing lists that implement this API to better accommodate the addition of methods,
e.g.,
AbstractSequentialInternalEList
,
BasicInternalEList
,
NotifyingInternalEListImpl
,
DelegatingNotifyingInternalEListImpl
,
EcoreEList.UnmodifiableEList
,
DelegatingEcoreEList.UnmodifiableEList
,
or a subclass of one of the above.Modifier and Type | Interface and Description |
---|---|
static interface |
InternalEList.Unsettable<E>
Additional API for unsettable lists.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addAllUnique(java.util.Collection<? extends E> collection)
Adds the objects without verifying uniqueness.
|
boolean |
addAllUnique(int index,
java.util.Collection<? extends E> collection)
Adds the objects without verifying uniqueness.
|
void |
addUnique(E object)
Adds the object without verifying uniqueness.
|
void |
addUnique(int index,
E 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.
|
E |
setUnique(int index,
E object)
Sets the object without verifying uniqueness.
|
E basicGet(int index)
java.util.List<E> basicList()
java.util.Iterator<E> basicIterator()
java.util.ListIterator<E> basicListIterator()
java.util.ListIterator<E> basicListIterator(int index)
java.lang.Object[] basicToArray()
<T> T[] basicToArray(T[] array)
int basicIndexOf(java.lang.Object object)
int basicLastIndexOf(java.lang.Object object)
boolean basicContains(java.lang.Object object)
boolean basicContainsAll(java.util.Collection<?> collection)
NotificationChain basicRemove(java.lang.Object object, NotificationChain notifications)
NotificationChain basicAdd(E object, NotificationChain notifications)
void addUnique(E object)
void addUnique(int index, E object)
boolean addAllUnique(java.util.Collection<? extends E> collection)
boolean addAllUnique(int index, java.util.Collection<? extends E> collection)