|
||||||||||
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.DelegatingEList<E>
org.eclipse.emf.common.util.DelegatingEList.UnmodifiableEList<E>
org.eclipse.emf.ecore.util.DelegatingEcoreEList.UnmodifiableEList<E>
public static class DelegatingEcoreEList.UnmodifiableEList<E>
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.common.util.DelegatingEList |
---|
DelegatingEList.EIterator<E1>, DelegatingEList.EListIterator<E1>, DelegatingEList.NonResolvingEIterator<E1>, DelegatingEList.NonResolvingEListIterator<E1>, DelegatingEList.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.DelegatingEList.UnmodifiableEList |
---|
underlyingList |
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
DelegatingEcoreEList.UnmodifiableEList(InternalEObject owner,
EStructuralFeature eStructuralFeature,
java.util.List<E> underlyingList)
|
Method Summary | |
---|---|
NotificationChain |
basicAdd(E object,
NotificationChain notifications)
Adds the object without updating the inverse. |
E |
basicGet(int index)
Returns the object at the index without resolving it. |
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 backing store list. |
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.DelegatingEList.UnmodifiableEList |
---|
add, add, addAll, addAll, clear, delegateList, iterator, listIterator, listIterator, move, move, remove, remove, removeAll, retainAll, set |
Methods inherited from class org.eclipse.emf.common.util.DelegatingEList |
---|
addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, canContainNull, contains, containsAll, delegateAdd, delegateAdd, delegateBasicList, delegateClear, delegateContains, delegateContainsAll, delegateEquals, delegateGet, delegateHashCode, delegateIndexOf, delegateIsEmpty, delegateIterator, delegateLastIndexOf, delegateListIterator, delegateMove, delegateRemove, delegateSet, delegateSize, delegateToArray, delegateToArray, delegateToString, didAdd, didChange, didClear, didMove, didRemove, didSet, doClear, equalObjects, equals, get, getDuplicates, getNonDuplicates, hashCode, indexOf, isEmpty, isUnique, lastIndexOf, resolve, setUnique, size, toArray, toArray, toString, useEquals, validate |
Methods inherited from class java.util.AbstractList |
---|
removeRange, subList |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.ecore.util.InternalEList |
---|
addUnique, addUnique, 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 DelegatingEcoreEList.UnmodifiableEList(InternalEObject owner, EStructuralFeature eStructuralFeature, java.util.List<E> underlyingList)
Method Detail |
---|
public E basicGet(int index)
DelegatingEList
resolving
it.
basicGet
in interface InternalEList<E>
basicGet
in class DelegatingEList<E>
index
- the position in question.
DelegatingEList.resolve(int, E)
,
DelegatingEList.get(int)
public java.util.List<E> basicList()
DelegatingEList
non-resolving
view of the backing store list.
basicList
in interface InternalEList<E>
basicList
in class DelegatingEList<E>
public java.util.Iterator<E> basicIterator()
DelegatingEList
resolve
objects.
This implementation allocates a DelegatingEList.NonResolvingEIterator
.
basicIterator
in interface InternalEList<E>
basicIterator
in class DelegatingEList<E>
public java.util.ListIterator<E> basicListIterator()
DelegatingEList
resolve
objects.
This implementation allocates a DelegatingEList.NonResolvingEListIterator
.
basicListIterator
in interface InternalEList<E>
basicListIterator
in class DelegatingEList<E>
public java.util.ListIterator<E> basicListIterator(int index)
DelegatingEList
resolve
objects.
This implementation allocates a DelegatingEList.NonResolvingEListIterator
.
basicListIterator
in interface InternalEList<E>
basicListIterator
in class DelegatingEList<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 |