|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
org.eclipse.emf.common.util.BasicEList<E>
org.eclipse.emf.common.util.BasicEList.UnmodifiableEList<E>
org.eclipse.emf.ecore.util.EcoreEList.UnmodifiableEList<E>
public static class EcoreEList.UnmodifiableEList<E>
Nested Class Summary | |
---|---|
static class |
EcoreEList.UnmodifiableEList.FastCompare<E>
|
Nested classes/interfaces inherited from class org.eclipse.emf.common.util.BasicEList |
---|
BasicEList.BasicIndexOutOfBoundsException, BasicEList.EIterator<E1>, BasicEList.EListIterator<E1>, BasicEList.NonResolvingEIterator<E1>, BasicEList.NonResolvingEListIterator<E1>, BasicEList.UnmodifiableEList<E> |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.util.InternalEList |
---|
InternalEList.Unsettable<E> |
Field Summary | |
---|---|
protected EStructuralFeature |
eStructuralFeature
|
protected InternalEObject |
owner
|
Fields inherited from class org.eclipse.emf.common.util.BasicEList |
---|
data, size |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
EcoreEList.UnmodifiableEList(InternalEObject owner,
EStructuralFeature eStructuralFeature,
int size,
java.lang.Object[] data)
|
Method Summary | |
---|---|
NotificationChain |
basicAdd(E object,
NotificationChain notifications)
Adds the object without updating the inverse. |
java.util.Iterator<E> |
basicIterator()
Returns a read-only iterator that does not resolve objects. |
java.util.List<E> |
basicList()
Returns an unsafe list that provides a non-resolving view of the underlying data storage. |
java.util.ListIterator<E> |
basicListIterator()
Returns a read-only list iterator that does not resolve objects. |
java.util.ListIterator<E> |
basicListIterator(int index)
Returns a read-only list iterator advanced to the given index that does not resolve objects. |
NotificationChain |
basicRemove(java.lang.Object object,
NotificationChain notifications)
Removes the object with without updating the inverse. |
java.lang.Object |
get(boolean resolve)
Returns the value held by the feature of the object; it optionally resolves the value. |
EObject |
getEObject()
Returns the object holding a value. |
EStructuralFeature |
getEStructuralFeature()
Returns the specific feature holding a value for the object. |
boolean |
isSet()
Returns whether a value is held by the feature of the object. |
void |
set(java.lang.Object newValue)
Set the value held by the feature of the object. |
void |
unset()
Unsets the value held by the feature of the object. |
Methods inherited from class org.eclipse.emf.common.util.BasicEList.UnmodifiableEList |
---|
add, add, addAll, addAll, clear, grow, iterator, listIterator, listIterator, move, move, remove, remove, removeAll, retainAll, set, shrink |
Methods inherited from class org.eclipse.emf.common.util.BasicEList |
---|
addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, assign, basicGet, canContainNull, clone, contains, containsAll, data, didAdd, didChange, didClear, didMove, didRemove, didSet, equalObjects, equals, get, getDuplicates, getNonDuplicates, hashCode, indexOf, isEmpty, isUnique, lastIndexOf, newData, resolve, setData, setUnique, size, toArray, toArray, toString, useEquals, validate |
Methods inherited from class java.util.AbstractList |
---|
removeRange, subList |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.ecore.util.InternalEList |
---|
addUnique, addUnique, basicGet, setUnique |
Methods inherited from interface org.eclipse.emf.common.util.EList |
---|
move, move |
Methods inherited from interface java.util.List |
---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Field Detail |
---|
protected final InternalEObject owner
protected final EStructuralFeature eStructuralFeature
Constructor Detail |
---|
public EcoreEList.UnmodifiableEList(InternalEObject owner, EStructuralFeature eStructuralFeature, int size, java.lang.Object[] data)
Method Detail |
---|
public java.util.List<E> basicList()
BasicEList
non-resolving
view of the underlying data storage.
basicList
in interface InternalEList<E>
basicList
in class BasicEList<E>
public java.util.Iterator<E> basicIterator()
BasicEList
resolve
objects.
This implementation allocates a BasicEList.NonResolvingEIterator
.
basicIterator
in interface InternalEList<E>
basicIterator
in class BasicEList<E>
public java.util.ListIterator<E> basicListIterator()
BasicEList
resolve
objects.
This implementation allocates a BasicEList.NonResolvingEListIterator
.
basicListIterator
in interface InternalEList<E>
basicListIterator
in class BasicEList<E>
public java.util.ListIterator<E> basicListIterator(int index)
BasicEList
resolve
objects.
This implementation allocates a BasicEList.NonResolvingEListIterator
.
basicListIterator
in interface InternalEList<E>
basicListIterator
in class BasicEList<E>
index
- the starting index.
public EObject getEObject()
EStructuralFeature.Setting
getEObject
in interface EStructuralFeature.Setting
public EStructuralFeature getEStructuralFeature()
EStructuralFeature.Setting
getEStructuralFeature
in interface EStructuralFeature.Setting
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 NotificationChain basicRemove(java.lang.Object object, NotificationChain notifications)
InternalEList
basicRemove
in interface InternalEList<E>
public NotificationChain basicAdd(E object, NotificationChain notifications)
InternalEList
basicAdd
in interface InternalEList<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 |