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