|
||||||||||||
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,
java.lang.Object object)
|
boolean |
add(java.lang.Object object)
|
boolean |
addAll(java.util.Collection collection)
|
boolean |
addAll(int index,
java.util.Collection collection)
|
boolean |
addAllUnique(java.util.Collection collection)
|
boolean |
addAllUnique(FeatureMap.Entry.Internal[] entries,
int start,
int end)
|
void |
addUnique(FeatureMap.Entry.Internal entry)
|
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(java.lang.Object object,
NotificationChain notifications)
Adds the object without updating the inverse. |
java.lang.Object |
basicGet(int index)
Returns the unresolved value. |
java.util.Iterator |
basicIterator()
Returns an iterator that yields unresolved values. |
java.util.List |
basicList()
Returns an unmodifiable list that yields unresolved values. |
java.util.ListIterator |
basicListIterator()
Returns a list iterator that yields unresolved values. |
java.util.ListIterator |
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. |
void |
clear()
|
boolean |
contains(java.lang.Object object)
|
boolean |
containsAll(java.util.Collection collection)
|
java.lang.Object |
get(boolean resolve)
Returns the value held by the feature of the object; it optionally resolves the value. |
java.lang.Object |
get(int index)
|
EObject |
getEObject()
Returns the object holding a value. |
EStructuralFeature |
getEStructuralFeature()
Returns the specific feature holding a value for the object. |
java.lang.Object |
getFeature()
|
int |
getFeatureID()
|
int |
indexOf(java.lang.Object object)
|
boolean |
isEmpty()
|
boolean |
isSet()
Returns whether a value is held by the feature of the object. |
java.util.Iterator |
iterator()
|
int |
lastIndexOf(java.lang.Object object)
|
java.util.ListIterator |
listIterator()
|
java.util.ListIterator |
listIterator(int index)
|
java.lang.Object |
move(int targetIndex,
int sourceIndex)
Moves the object from the old position to the new position. |
void |
move(int index,
java.lang.Object object)
Moves the object to the new position, if is in the list. |
java.lang.Object |
remove(int index)
|
boolean |
remove(java.lang.Object object)
|
boolean |
removeAll(java.util.Collection collection)
|
boolean |
retainAll(java.util.Collection collection)
|
java.lang.Object |
set(int index,
java.lang.Object object)
|
void |
set(java.lang.Object newValue)
Set the value held by the feature of the object. |
java.lang.Object |
setUnique(int index,
java.lang.Object object)
Sets the object without verifying uniqueness. |
int |
size()
|
java.lang.Object[] |
toArray()
|
java.lang.Object[] |
toArray(java.lang.Object[] array)
|
java.lang.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 java.util.List
public boolean isEmpty()
isEmpty
in interface java.util.List
public boolean contains(java.lang.Object object)
contains
in interface java.util.List
public int indexOf(java.lang.Object object)
indexOf
in interface java.util.List
public int lastIndexOf(java.lang.Object object)
lastIndexOf
in interface java.util.List
public boolean containsAll(java.util.Collection collection)
containsAll
in interface java.util.List
public java.util.Iterator iterator()
iterator
in interface java.util.List
public java.util.ListIterator listIterator()
listIterator
in interface java.util.List
public java.util.ListIterator listIterator(int index)
listIterator
in interface java.util.List
public java.lang.Object basicGet(int index)
InternalEList
basicGet
in interface InternalEList
public java.util.List basicList()
InternalEList
basicList
in interface InternalEList
public java.util.Iterator basicIterator()
InternalEList
basicIterator
in interface InternalEList
public java.util.ListIterator basicListIterator()
InternalEList
basicListIterator
in interface InternalEList
public java.util.ListIterator basicListIterator(int index)
InternalEList
basicListIterator
in interface InternalEList
public java.lang.Object[] toArray()
toArray
in interface java.util.List
public java.lang.Object[] toArray(java.lang.Object[] array)
toArray
in interface java.util.List
public boolean add(java.lang.Object object)
add
in interface java.util.List
public void add(int index, java.lang.Object object)
add
in interface java.util.List
public boolean addAll(java.util.Collection collection)
addAll
in interface java.util.List
public boolean addAll(int index, java.util.Collection collection)
addAll
in interface java.util.List
public void addUnique(java.lang.Object object)
InternalEList
addUnique
in interface InternalEList
public void addUnique(int index, java.lang.Object object)
InternalEList
addUnique
in interface InternalEList
public boolean addAllUnique(java.util.Collection collection)
public void addUnique(FeatureMap.Entry.Internal entry)
public boolean addAllUnique(FeatureMap.Entry.Internal[] entries, int start, int end)
public NotificationChain basicAdd(java.lang.Object object, NotificationChain notifications)
InternalEList
basicAdd
in interface InternalEList
public boolean remove(java.lang.Object object)
remove
in interface java.util.List
public java.lang.Object remove(int index)
remove
in interface java.util.List
public NotificationChain basicRemove(java.lang.Object object, NotificationChain notifications)
InternalEList
basicRemove
in interface InternalEList
public boolean removeAll(java.util.Collection collection)
removeAll
in interface java.util.List
public boolean retainAll(java.util.Collection collection)
retainAll
in interface java.util.List
public void clear()
clear
in interface java.util.List
public void move(int index, java.lang.Object object)
EList
move
in interface EList
index
- the position of the object after the move.object
- the object to move.public java.lang.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 java.lang.Object get(int index)
get
in interface java.util.List
public java.lang.Object set(int index, java.lang.Object object)
set
in interface java.util.List
public java.lang.Object setUnique(int index, java.lang.Object object)
InternalEList
setUnique
in interface InternalEList
public java.lang.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(java.lang.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 java.lang.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 java.lang.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 |