|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection<E> java.util.AbstractList<E> org.eclipse.emf.ecore.util.FeatureMapUtil.FeatureEList<E>
public static class FeatureMapUtil.FeatureEList<E>
Nested Class Summary | |
---|---|
static class |
FeatureMapUtil.FeatureEList.Basic<E>
|
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.util.InternalEList |
---|
InternalEList.Unsettable<E> |
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<? extends E> collection)
|
|
boolean |
addAll(int index,
java.util.Collection<? extends E> collection)
|
|
boolean |
addAllUnique(java.util.Collection<? extends E> collection)
Adds the objects without verifying uniqueness. |
|
boolean |
addAllUnique(FeatureMap.Entry.Internal[] entries,
int start,
int end)
|
|
boolean |
addAllUnique(int index,
java.util.Collection<? extends E> collection)
Adds the objects without verifying uniqueness. |
|
boolean |
addAllUnique(int index,
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(E object,
NotificationChain notifications)
Adds the object without updating the inverse. |
|
boolean |
basicContains(java.lang.Object object)
Returns whether the object is contained within the list of unresolved values. |
|
boolean |
basicContainsAll(java.util.Collection<?> collection)
Returns whether each object in the collection is contained within the list of unresolved values. |
|
E |
basicGet(int index)
Returns the unresolved value. |
|
int |
basicIndexOf(java.lang.Object object)
Returns the index of the object within the list of unresolved values. |
|
java.util.Iterator<E> |
basicIterator()
Returns an iterator that yields unresolved values. |
|
int |
basicLastIndexOf(java.lang.Object object)
Returns the last index of the object within the list of 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. |
|
java.lang.Object[] |
basicToArray()
Returns the array with unresolved values. |
|
|
basicToArray(T[] array)
Returns the array with unresolved values. |
|
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. |
|
E |
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<E> |
iterator()
|
|
int |
lastIndexOf(java.lang.Object object)
|
|
java.util.ListIterator<E> |
listIterator()
|
|
java.util.ListIterator<E> |
listIterator(int index)
|
|
E |
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. |
|
E |
remove(int index)
|
|
boolean |
remove(java.lang.Object object)
|
|
boolean |
removeAll(java.util.Collection<?> collection)
|
|
boolean |
retainAll(java.util.Collection<?> collection)
|
|
E |
set(int index,
E object)
|
|
void |
set(java.lang.Object newValue)
Set the value held by the feature of the object. |
|
E |
setUnique(int index,
E object)
Sets the object without verifying uniqueness. |
|
int |
size()
|
|
java.lang.Object[] |
toArray()
|
|
|
toArray(T[] 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.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 boolean contains(java.lang.Object object)
contains
in interface java.util.Collection<E>
contains
in interface java.util.List<E>
contains
in class java.util.AbstractCollection<E>
public int indexOf(java.lang.Object object)
indexOf
in interface java.util.List<E>
indexOf
in class java.util.AbstractList<E>
public int lastIndexOf(java.lang.Object object)
lastIndexOf
in interface java.util.List<E>
lastIndexOf
in class java.util.AbstractList<E>
public boolean containsAll(java.util.Collection<?> collection)
containsAll
in interface java.util.Collection<E>
containsAll
in interface java.util.List<E>
containsAll
in class java.util.AbstractCollection<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.AbstractList<E>
public java.util.ListIterator<E> listIterator()
listIterator
in interface java.util.List<E>
listIterator
in class java.util.AbstractList<E>
public java.util.ListIterator<E> listIterator(int index)
listIterator
in interface java.util.List<E>
listIterator
in class java.util.AbstractList<E>
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 java.lang.Object[] toArray()
toArray
in interface java.util.Collection<E>
toArray
in interface java.util.List<E>
toArray
in class java.util.AbstractCollection<E>
public <T> T[] toArray(T[] array)
toArray
in interface java.util.Collection<E>
toArray
in interface java.util.List<E>
toArray
in class java.util.AbstractCollection<E>
public boolean basicContains(java.lang.Object object)
InternalEList
basicContains
in interface InternalEList<E>
public boolean basicContainsAll(java.util.Collection<?> collection)
InternalEList
basicContainsAll
in interface InternalEList<E>
public int basicIndexOf(java.lang.Object object)
InternalEList
basicIndexOf
in interface InternalEList<E>
public int basicLastIndexOf(java.lang.Object object)
InternalEList
basicLastIndexOf
in interface InternalEList<E>
public java.lang.Object[] basicToArray()
InternalEList
basicToArray
in interface InternalEList<E>
public <T> T[] basicToArray(T[] array)
InternalEList
basicToArray
in interface InternalEList<E>
public boolean add(java.lang.Object object)
add
in interface java.util.Collection<E>
add
in interface java.util.List<E>
add
in class java.util.AbstractList<E>
public void add(int index, java.lang.Object object)
add
in interface java.util.List<E>
add
in class java.util.AbstractList<E>
public boolean addAll(java.util.Collection<? extends E> collection)
addAll
in interface java.util.Collection<E>
addAll
in interface java.util.List<E>
addAll
in class java.util.AbstractCollection<E>
public boolean addAll(int index, java.util.Collection<? extends E> collection)
addAll
in interface java.util.List<E>
addAll
in class java.util.AbstractList<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 boolean addAllUnique(java.util.Collection<? extends E> collection)
InternalEList
addAllUnique
in interface InternalEList<E>
public boolean addAllUnique(int index, java.util.Collection<? extends E> collection)
InternalEList
addAllUnique
in interface InternalEList<E>
public void addUnique(FeatureMap.Entry.Internal entry)
public boolean addAllUnique(FeatureMap.Entry.Internal[] entries, int start, int end)
public boolean addAllUnique(int index, FeatureMap.Entry.Internal[] entries, int start, int end)
public NotificationChain basicAdd(E object, NotificationChain notifications)
InternalEList
basicAdd
in interface InternalEList<E>
public boolean remove(java.lang.Object object)
remove
in interface java.util.Collection<E>
remove
in interface java.util.List<E>
remove
in class java.util.AbstractCollection<E>
public E remove(int index)
remove
in interface java.util.List<E>
remove
in class java.util.AbstractList<E>
public NotificationChain basicRemove(java.lang.Object object, NotificationChain notifications)
InternalEList
basicRemove
in interface InternalEList<E>
public boolean removeAll(java.util.Collection<?> collection)
removeAll
in interface java.util.Collection<E>
removeAll
in interface java.util.List<E>
removeAll
in class java.util.AbstractCollection<E>
public boolean retainAll(java.util.Collection<?> collection)
retainAll
in interface java.util.Collection<E>
retainAll
in interface java.util.List<E>
retainAll
in class java.util.AbstractCollection<E>
public void clear()
clear
in interface java.util.Collection<E>
clear
in interface java.util.List<E>
clear
in class java.util.AbstractList<E>
public void move(int index, java.lang.Object object)
EList
move
in interface EList<E>
index
- the position of the object after the move.object
- the object to move.public E move(int targetIndex, int sourceIndex)
EList
move
in interface EList<E>
targetIndex
- the position of the object after the move.sourceIndex
- the position of the object before the move.
public E get(int index)
get
in interface java.util.List<E>
get
in class java.util.AbstractList<E>
public E set(int index, E object)
set
in interface java.util.List<E>
set
in class java.util.AbstractList<E>
public E setUnique(int index, E object)
InternalEList
setUnique
in interface InternalEList<E>
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()
EStructuralFeature.Setting
isSet
in interface EStructuralFeature.Setting
isSet
in interface InternalEList.Unsettable<E>
EObject.eIsSet(EStructuralFeature)
public void unset()
EStructuralFeature.Setting
unset
in interface EStructuralFeature.Setting
unset
in interface InternalEList.Unsettable<E>
EObject.eUnset(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()
toString
in class java.util.AbstractCollection<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 |