|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
org.eclipse.emf.ecore.util.FeatureMapUtil.FeatureEList
| Nested Class Summary | |
static class |
FeatureMapUtil.FeatureEList.Basic
|
| Nested classes inherited from class org.eclipse.emf.ecore.util.InternalEList |
InternalEList.Unsettable |
| Field Summary | |
protected EStructuralFeature |
feature
|
protected FeatureMap.Internal |
featureMap
|
| Fields inherited from class java.util.AbstractList |
modCount |
| Constructor Summary | |
FeatureMapUtil.FeatureEList(EStructuralFeature feature,
FeatureMap.Internal featureMap)
|
|
| Method Summary | |
void |
add(int index,
Object object)
|
boolean |
add(Object object)
|
boolean |
addAll(Collection collection)
|
boolean |
addAll(int index,
Collection collection)
|
boolean |
addAllUnique(Collection collection)
|
boolean |
addAllUnique(FeatureMap.Entry.Internal[] entries,
int start,
int end)
|
void |
addUnique(FeatureMap.Entry.Internal entry)
|
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. |
void |
clear()
|
boolean |
contains(Object object)
|
boolean |
containsAll(Collection collection)
|
Object |
get(boolean resolve)
Returns the value held by the feature of the object; it optionally resolves the value. |
Object |
get(int index)
|
EObject |
getEObject()
Returns the object holding a value. |
EStructuralFeature |
getEStructuralFeature()
Returns the specific feature holding a value for the object. |
Object |
getFeature()
|
int |
getFeatureID()
|
int |
indexOf(Object object)
|
boolean |
isEmpty()
|
boolean |
isSet()
Returns whether a value is held by the feature of the object. |
Iterator |
iterator()
|
int |
lastIndexOf(Object object)
|
ListIterator |
listIterator()
|
ListIterator |
listIterator(int index)
|
Object |
move(int targetIndex,
int sourceIndex)
Moves the object from the old position to the new position. |
void |
move(int index,
Object object)
Moves the object to the new position, if is in the list. |
Object |
remove(int index)
|
boolean |
remove(Object object)
|
boolean |
removeAll(Collection collection)
|
boolean |
retainAll(Collection collection)
|
Object |
set(int index,
Object object)
|
void |
set(Object newValue)
Set the value held by the feature of the object. |
Object |
setUnique(int index,
Object object)
Sets the object without verifying uniqueness. |
int |
size()
|
Object[] |
toArray()
|
Object[] |
toArray(Object[] array)
|
String |
toString()
|
void |
unset()
Unsets the value held by the feature of the object. |
| Methods inherited from class java.util.AbstractList |
equals, hashCode, removeRange, subList |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
equals, hashCode, subList |
| Field Detail |
protected EStructuralFeature feature
protected FeatureMap.Internal featureMap
| Constructor Detail |
public FeatureMapUtil.FeatureEList(EStructuralFeature feature,
FeatureMap.Internal featureMap)
| Method Detail |
public int size()
size in interface Listpublic boolean isEmpty()
isEmpty in interface Listpublic boolean contains(Object object)
contains in interface Listpublic int indexOf(Object object)
indexOf in interface Listpublic int lastIndexOf(Object object)
lastIndexOf in interface Listpublic boolean containsAll(Collection collection)
containsAll in interface Listpublic Iterator iterator()
iterator in interface Listpublic ListIterator listIterator()
listIterator in interface Listpublic ListIterator listIterator(int index)
listIterator in interface Listpublic Object basicGet(int index)
InternalEList
basicGet in interface InternalEListpublic List basicList()
InternalEList
basicList in interface InternalEListpublic Iterator basicIterator()
InternalEList
basicIterator in interface InternalEListpublic ListIterator basicListIterator()
InternalEList
basicListIterator in interface InternalEListpublic ListIterator basicListIterator(int index)
InternalEList
basicListIterator in interface InternalEListpublic Object[] toArray()
toArray in interface Listpublic Object[] toArray(Object[] array)
toArray in interface Listpublic boolean add(Object object)
add in interface List
public void add(int index,
Object object)
add in interface Listpublic boolean addAll(Collection collection)
addAll in interface List
public boolean addAll(int index,
Collection collection)
addAll in interface Listpublic void addUnique(Object object)
InternalEList
addUnique in interface InternalEList
public void addUnique(int index,
Object object)
InternalEList
addUnique in interface InternalEListpublic boolean addAllUnique(Collection collection)
public void addUnique(FeatureMap.Entry.Internal entry)
public boolean addAllUnique(FeatureMap.Entry.Internal[] entries,
int start,
int end)
public NotificationChain basicAdd(Object object,
NotificationChain notifications)
InternalEList
basicAdd in interface InternalEListpublic boolean remove(Object object)
remove in interface Listpublic Object remove(int index)
remove in interface List
public NotificationChain basicRemove(Object object,
NotificationChain notifications)
InternalEList
basicRemove in interface InternalEListpublic boolean removeAll(Collection collection)
removeAll in interface Listpublic boolean retainAll(Collection collection)
retainAll in interface Listpublic void clear()
clear in interface List
public void move(int index,
Object object)
EList
move in interface EListindex - the position of the object after the move.object - the object to move.
public Object move(int targetIndex,
int sourceIndex)
EList
move in interface EListtargetIndex - the position of the object after the move.sourceIndex - the position of the object before the move.
public Object get(int index)
get in interface List
public Object set(int index,
Object object)
set in interface List
public Object setUnique(int index,
Object object)
InternalEList
setUnique in interface InternalEListpublic Object get(boolean resolve)
EStructuralFeature.Settingresolves the value.
get in interface EStructuralFeature.Settingresolve - whether to resolve.
EObject.eGet(EStructuralFeature, boolean)public void set(Object newValue)
EStructuralFeature.Setting
set in interface EStructuralFeature.SettingnewValue - the newValue.EObject.eSet(EStructuralFeature, Object)public boolean isSet()
InternalEList.Unsettable
isSet in interface InternalEList.UnsettableEObject.eIsSet(org.eclipse.emf.ecore.EStructuralFeature)public void unset()
InternalEList.Unsettable
unset in interface InternalEList.UnsettableEObject.eUnset(org.eclipse.emf.ecore.EStructuralFeature)public Object getFeature()
public int getFeatureID()
public EStructuralFeature getEStructuralFeature()
EStructuralFeature.Setting
getEStructuralFeature in interface EStructuralFeature.Settingpublic EObject getEObject()
EStructuralFeature.Setting
getEObject in interface EStructuralFeature.Settingpublic String toString()
|
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 | ||||||||||