|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.AbstractSequentialList<E>
org.eclipse.emf.ecore.util.EContentsEList<E>
public class EContentsEList<E>
Nested Class Summary | |
---|---|
static interface |
EContentsEList.FeatureIterator<E>
|
static class |
EContentsEList.FeatureIteratorImpl<E>
|
static interface |
EContentsEList.FeatureListIterator<E>
|
static class |
EContentsEList.ResolvingFeatureIteratorImpl<E>
|
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.util.InternalEList |
---|
InternalEList.Unsettable<E> |
Field Summary | |
---|---|
static EContentsEList<?> |
EMPTY_CONTENTS_ELIST
|
protected EObject |
eObject
|
protected EStructuralFeature[] |
eStructuralFeatures
|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
EContentsEList(EObject eObject)
|
|
EContentsEList(EObject eObject,
EStructuralFeature[] eStructuralFeatures)
|
|
EContentsEList(EObject eObject,
java.util.List<? extends EStructuralFeature> eStructuralFeatures)
|
Method Summary | ||
---|---|---|
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. |
|
E |
basicGet(int index)
Returns the unresolved value. |
|
java.util.Iterator<E> |
basicIterator()
Returns an iterator that yields 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. |
|
static
|
createEContentsEList(EObject eObject)
|
|
static
|
emptyContentsEList()
|
|
boolean |
isEmpty()
|
|
protected boolean |
isIncluded(EStructuralFeature eStructuralFeature)
|
|
protected boolean |
isIncludedEntry(EStructuralFeature eStructuralFeature)
|
|
java.util.Iterator<E> |
iterator()
|
|
java.util.ListIterator<E> |
listIterator(int index)
|
|
E |
move(int newPosition,
int oldPosition)
Moves the object from the old position to the new position. |
|
void |
move(int newPosition,
java.lang.Object o)
Moves the object to the new position, if is in the list. |
|
protected java.util.Iterator<E> |
newIterator()
|
|
protected java.util.ListIterator<E> |
newListIterator()
|
|
protected java.util.ListIterator<E> |
newNonResolvingListIterator()
|
|
protected java.util.ListIterator<E> |
newResolvingListIterator()
|
|
protected boolean |
resolve()
|
|
E |
setUnique(int index,
E object)
Sets the object without verifying uniqueness. |
|
int |
size()
|
|
protected boolean |
useIsSet()
|
Methods inherited from class java.util.AbstractSequentialList |
---|
add, addAll, get, remove, set |
Methods inherited from class java.util.AbstractList |
---|
add, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange, subList |
Methods inherited from class java.util.AbstractCollection |
---|
addAll, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final EContentsEList<?> EMPTY_CONTENTS_ELIST
protected final EObject eObject
protected final EStructuralFeature[] eStructuralFeatures
Constructor Detail |
---|
public EContentsEList(EObject eObject)
public EContentsEList(EObject eObject, java.util.List<? extends EStructuralFeature> eStructuralFeatures)
public EContentsEList(EObject eObject, EStructuralFeature[] eStructuralFeatures)
Method Detail |
---|
public static <T> EContentsEList<T> emptyContentsEList()
public static <T> EContentsEList<T> createEContentsEList(EObject eObject)
protected java.util.ListIterator<E> newListIterator()
protected java.util.ListIterator<E> newResolvingListIterator()
protected java.util.ListIterator<E> newNonResolvingListIterator()
protected java.util.Iterator<E> newIterator()
protected boolean useIsSet()
protected boolean resolve()
protected boolean isIncluded(EStructuralFeature eStructuralFeature)
protected boolean isIncludedEntry(EStructuralFeature eStructuralFeature)
public java.util.ListIterator<E> listIterator(int index)
listIterator
in interface java.util.List<E>
listIterator
in class java.util.AbstractSequentialList<E>
public java.util.Iterator<E> iterator()
iterator
in interface java.lang.Iterable<E>
iterator
in interface java.util.Collection<E>
iterator
in interface java.util.List<E>
iterator
in class java.util.AbstractSequentialList<E>
public int size()
size
in interface java.util.Collection<E>
size
in interface java.util.List<E>
size
in class java.util.AbstractCollection<E>
public boolean isEmpty()
isEmpty
in interface java.util.Collection<E>
isEmpty
in interface java.util.List<E>
isEmpty
in class java.util.AbstractCollection<E>
public void move(int newPosition, java.lang.Object o)
EList
move
in interface EList<E>
newPosition
- the position of the object after the move.o
- the object to move.public E move(int newPosition, int oldPosition)
EList
move
in interface EList<E>
newPosition
- the position of the object after the move.oldPosition
- the position of the object before the move.
public E basicGet(int index)
InternalEList
basicGet
in interface InternalEList<E>
public java.util.List<E> basicList()
InternalEList
basicList
in interface InternalEList<E>
public java.util.Iterator<E> basicIterator()
InternalEList
basicIterator
in interface InternalEList<E>
public java.util.ListIterator<E> basicListIterator()
InternalEList
basicListIterator
in interface InternalEList<E>
public java.util.ListIterator<E> basicListIterator(int index)
InternalEList
basicListIterator
in interface InternalEList<E>
public NotificationChain basicRemove(java.lang.Object object, NotificationChain notifications)
InternalEList
basicRemove
in interface InternalEList<E>
public NotificationChain basicAdd(E object, NotificationChain notifications)
InternalEList
basicAdd
in interface InternalEList<E>
public void addUnique(java.lang.Object object)
InternalEList
addUnique
in interface InternalEList<E>
public void addUnique(int index, java.lang.Object object)
InternalEList
addUnique
in interface InternalEList<E>
public E setUnique(int index, E object)
InternalEList
setUnique
in interface InternalEList<E>
|
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 |