|
|||||||||||
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 List
public boolean isEmpty()
isEmpty
in interface List
public boolean contains(Object object)
contains
in interface List
public int indexOf(Object object)
indexOf
in interface List
public int lastIndexOf(Object object)
lastIndexOf
in interface List
public boolean containsAll(Collection collection)
containsAll
in interface List
public Iterator iterator()
iterator
in interface List
public ListIterator listIterator()
listIterator
in interface List
public ListIterator listIterator(int index)
listIterator
in interface List
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 Object[] toArray()
toArray
in interface List
public Object[] toArray(Object[] array)
toArray
in interface List
public boolean add(Object object)
add
in interface List
public void add(int index, Object object)
add
in interface List
public boolean addAll(Collection collection)
addAll
in interface List
public boolean addAll(int index, Collection collection)
addAll
in interface List
public void addUnique(Object object)
InternalEList
addUnique
in interface InternalEList
public void addUnique(int index, Object object)
InternalEList
addUnique
in interface InternalEList
public 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 InternalEList
public boolean remove(Object object)
remove
in interface List
public Object remove(int index)
remove
in interface List
public NotificationChain basicRemove(Object object, NotificationChain notifications)
InternalEList
basicRemove
in interface InternalEList
public boolean removeAll(Collection collection)
removeAll
in interface List
public boolean retainAll(Collection collection)
retainAll
in interface List
public void clear()
clear
in interface List
public void move(int index, Object object)
EList
move
in interface EList
index
- the position of the object after the move.object
- the object to move.public Object move(int targetIndex, int sourceIndex)
EList
move
in interface EList
targetIndex
- 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 InternalEList
public Object get(boolean resolve)
EStructuralFeature.Setting
resolves
the value.
get
in interface EStructuralFeature.Setting
resolve
- whether to resolve.
EObject.eGet(EStructuralFeature, boolean)
public void set(Object newValue)
EStructuralFeature.Setting
set
in interface EStructuralFeature.Setting
newValue
- the newValue.EObject.eSet(EStructuralFeature, Object)
public boolean isSet()
InternalEList.Unsettable
isSet
in interface InternalEList.Unsettable
EObject.eIsSet(org.eclipse.emf.ecore.EStructuralFeature)
public void unset()
InternalEList.Unsettable
unset
in interface InternalEList.Unsettable
EObject.eUnset(org.eclipse.emf.ecore.EStructuralFeature)
public Object getFeature()
public int getFeatureID()
public EStructuralFeature getEStructuralFeature()
EStructuralFeature.Setting
getEStructuralFeature
in interface EStructuralFeature.Setting
public EObject getEObject()
EStructuralFeature.Setting
getEObject
in interface EStructuralFeature.Setting
public 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 |