public class EcoreEMap<K,V> extends <any> implements InternalEList.Unsettable<java.util.Map.Entry<K,V>>, EStructuralFeature.Setting
| Modifier and Type | Class and Description |
|---|---|
protected class |
EcoreEMap.DelegateEObjectContainmentEList<E extends java.lang.Object & <any>> |
protected class |
EcoreEMap.DelegateEObjectContainmentWithInverseEList<E extends java.lang.Object & <any>> |
static class |
EcoreEMap.Unsettable<K,V> |
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Class<?> |
entryClass |
protected EClass |
entryEClass |
| Constructor and Description |
|---|
EcoreEMap(EClass entryEClass,
java.lang.Class<?> entryClass,
<any> delegateEList) |
EcoreEMap(EClass entryEClass,
java.lang.Class<?> entryClass,
InternalEObject owner,
int featureID) |
EcoreEMap(EClass entryEClass,
java.lang.Class<?> entryClass,
InternalEObject owner,
int featureID,
int inverseFeatureID) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllUnique(java.util.Collection<? extends java.util.Map.Entry<K,V>> collection)
Add the objects without verifying uniqueness.
|
boolean |
addAllUnique(int index,
java.util.Collection<? extends java.util.Map.Entry<K,V>> collection)
Add the objects without verifying uniqueness.
|
void |
addUnique(int index,
java.util.Map.Entry<K,V> object)
Add the object without verifying uniqueness.
|
void |
addUnique(java.util.Map.Entry<K,V> object)
Add the object without verifying uniqueness.
|
NotificationChain |
basicAdd(java.util.Map.Entry<K,V> object,
NotificationChain notifications)
Add 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.
|
<any> |
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<java.util.Map.Entry<K,V>> |
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<java.util.Map.Entry<K,V>> |
basicList()
Returns an unmodifiable list that yields unresolved values.
|
java.util.ListIterator<java.util.Map.Entry<K,V>> |
basicListIterator()
Returns a list iterator that yields unresolved values.
|
java.util.ListIterator<java.util.Map.Entry<K,V>> |
basicListIterator(int index)
Returns a list iterator that yields unresolved values.
|
NotificationChain |
basicRemove(java.lang.Object object,
NotificationChain notifications)
Remove the object with without updating the inverse.
|
java.lang.Object[] |
basicToArray()
Returns the array with unresolved values.
|
<T> T[] |
basicToArray(T[] array)
Returns the array with unresolved values.
|
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.
|
protected void |
initializeDelegateEList() |
boolean |
isSet()
Returns whether a value is held by the feature of the object.
|
protected <any> |
newEntry(int hash,
K key,
V value) |
protected <any> |
newList() |
void |
set(java.lang.Object value)
Set the value held by the feature of the object.
|
java.util.Map.Entry<K,V> |
setUnique(int index,
java.util.Map.Entry<K,V> object)
Set the object without verifying uniqueness.
|
void |
unset()
Unsets the value held by the feature of the object.
|
protected EClass entryEClass
protected java.lang.Class<?> entryClass
public EcoreEMap(EClass entryEClass, java.lang.Class<?> entryClass, InternalEObject owner, int featureID)
public EcoreEMap(EClass entryEClass, java.lang.Class<?> entryClass, InternalEObject owner, int featureID, int inverseFeatureID)
public EcoreEMap(EClass entryEClass, java.lang.Class<?> entryClass, <any> delegateEList)
protected void initializeDelegateEList()
protected <any> newList()
public <any> basicGet(int index)
InternalEListbasicGet in interface InternalEList<java.util.Map.Entry<K,V>>public java.util.List<java.util.Map.Entry<K,V>> basicList()
InternalEListbasicList in interface InternalEList<java.util.Map.Entry<K,V>>public java.util.Iterator<java.util.Map.Entry<K,V>> basicIterator()
basicIterator in interface InternalEList<java.util.Map.Entry<K,V>>public java.util.ListIterator<java.util.Map.Entry<K,V>> basicListIterator()
basicListIterator in interface InternalEList<java.util.Map.Entry<K,V>>public java.util.ListIterator<java.util.Map.Entry<K,V>> basicListIterator(int index)
basicListIterator in interface InternalEList<java.util.Map.Entry<K,V>>public boolean basicContains(java.lang.Object object)
InternalEListbasicContains in interface InternalEList<java.util.Map.Entry<K,V>>public boolean basicContainsAll(java.util.Collection<?> collection)
InternalEListbasicContainsAll in interface InternalEList<java.util.Map.Entry<K,V>>public int basicIndexOf(java.lang.Object object)
InternalEListbasicIndexOf in interface InternalEList<java.util.Map.Entry<K,V>>public int basicLastIndexOf(java.lang.Object object)
InternalEListbasicLastIndexOf in interface InternalEList<java.util.Map.Entry<K,V>>public java.lang.Object[] basicToArray()
basicToArray in interface InternalEList<java.util.Map.Entry<K,V>>public <T> T[] basicToArray(T[] array)
basicToArray in interface InternalEList<java.util.Map.Entry<K,V>>public NotificationChain basicRemove(java.lang.Object object,
NotificationChain notifications)
basicRemove in interface InternalEList<java.util.Map.Entry<K,V>>public NotificationChain basicAdd(java.util.Map.Entry<K,V> object, NotificationChain notifications)
basicAdd in interface InternalEList<java.util.Map.Entry<K,V>>public void addUnique(java.util.Map.Entry<K,V> object)
addUnique in interface InternalEList<java.util.Map.Entry<K,V>>public void addUnique(int index,
java.util.Map.Entry<K,V> object)
addUnique in interface InternalEList<java.util.Map.Entry<K,V>>public boolean addAllUnique(java.util.Collection<? extends java.util.Map.Entry<K,V>> collection)
addAllUnique in interface InternalEList<java.util.Map.Entry<K,V>>public boolean addAllUnique(int index,
java.util.Collection<? extends java.util.Map.Entry<K,V>> collection)
addAllUnique in interface InternalEList<java.util.Map.Entry<K,V>>public java.util.Map.Entry<K,V> setUnique(int index, java.util.Map.Entry<K,V> object)
setUnique in interface InternalEList<java.util.Map.Entry<K,V>>public EObject getEObject()
EStructuralFeature.SettinggetEObject in interface EStructuralFeature.Settingpublic EStructuralFeature getEStructuralFeature()
EStructuralFeature.SettinggetEStructuralFeature in interface EStructuralFeature.Settingpublic java.lang.Object get(boolean resolve)
EStructuralFeature.Settingresolves the value.get in interface EStructuralFeature.Settingresolve - whether to resolve.EObject.eGet(EStructuralFeature, boolean)public void set(java.lang.Object value)
EStructuralFeature.Settingset in interface EStructuralFeature.Settingvalue - the newValue.EObject.eSet(EStructuralFeature, Object)public boolean isSet()
InternalEList.UnsettableisSet in interface EStructuralFeature.SettingisSet in interface InternalEList.Unsettable<java.util.Map.Entry<K,V>>EObject.eIsSet(org.eclipse.emf.ecore.EStructuralFeature)public void unset()
InternalEList.Unsettableunset in interface EStructuralFeature.Settingunset in interface InternalEList.Unsettable<java.util.Map.Entry<K,V>>EObject.eUnset(org.eclipse.emf.ecore.EStructuralFeature)Copyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature