|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InternalEList<E>
An interface that the 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.
Nested Class Summary | |
---|---|
static interface |
InternalEList.Unsettable<E>
Additional API for unsettable lists. |
Method Summary | ||
---|---|---|
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. |
|
|
basicToArray(T[] array)
Returns the array with unresolved values. |
|
E |
setUnique(int index,
E object)
Sets the object without verifying uniqueness. |
Methods inherited from interface org.eclipse.emf.common.util.EList |
---|
move, move |
Methods inherited from interface java.util.List |
---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Method Detail |
---|
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)
E setUnique(int index, E 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 |