|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.util.ECollections.BasicEmptyUnmodifiableEList<java.util.Map.Entry<java.lang.Object,java.lang.Object>>
org.eclipse.emf.common.util.ECollections.EmptyUnmodifiableEMap
private static class ECollections.EmptyUnmodifiableEMap
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.emf.common.util.EMap |
|---|
EMap.InternalMapView<K,V> |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.emf.common.util.ECollections.BasicEmptyUnmodifiableEList |
|---|
listIterator |
| Constructor Summary | |
|---|---|
private |
ECollections.EmptyUnmodifiableEMap()
|
| Method Summary | |
|---|---|
boolean |
containsKey(java.lang.Object key)
Returns whether the key is associated with a value. |
boolean |
containsValue(java.lang.Object value)
Returns whether the value is associated with a key. |
java.util.Set<java.util.Map.Entry<java.lang.Object,java.lang.Object>> |
entrySet()
Returns a set view of the entries. |
java.lang.Object |
get(java.lang.Object key)
Returns the value associated with the key. |
int |
indexOfKey(java.lang.Object key)
Returns the index in the list of the entry with the given key, or -1, if there is no such entry. |
java.util.Set<java.lang.Object> |
keySet()
Returns a set view of the keys of the entries. |
java.util.Map<java.lang.Object,java.lang.Object> |
map()
Returns a map view. |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
Associates the key with the value and returns the value previously associated with the key, or null. |
void |
putAll(EMap<? extends java.lang.Object,? extends java.lang.Object> map)
Puts each Map.Entry of the given map into this one. |
void |
putAll(java.util.Map<? extends java.lang.Object,? extends java.lang.Object> map)
Puts each Map.Entry of the given map into this one. |
java.lang.Object |
removeKey(java.lang.Object key)
Disassociates the key from its value, and returns the value formerly associated with the key. |
java.util.Collection<java.lang.Object> |
values()
Returns a collection view the values of the entries. |
| Methods inherited from class org.eclipse.emf.common.util.ECollections.BasicEmptyUnmodifiableEList |
|---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, move, move, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| 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 |
| Constructor Detail |
|---|
private ECollections.EmptyUnmodifiableEMap()
| Method Detail |
|---|
public boolean containsKey(java.lang.Object key)
EMap
containsKey in interface EMap<java.lang.Object,java.lang.Object>key - a key associated with a value.
public boolean containsValue(java.lang.Object value)
EMap
containsValue in interface EMap<java.lang.Object,java.lang.Object>value - a value associated with a key.
public java.util.Set<java.util.Map.Entry<java.lang.Object,java.lang.Object>> entrySet()
EMap
entrySet in interface EMap<java.lang.Object,java.lang.Object>public java.lang.Object get(java.lang.Object key)
EMapnull.
get in interface EMap<java.lang.Object,java.lang.Object>key - the key of the value.
public int indexOfKey(java.lang.Object key)
EMap-1, if there is no such entry.
indexOfKey in interface EMap<java.lang.Object,java.lang.Object>key - a key.
public java.util.Set<java.lang.Object> keySet()
EMap
keySet in interface EMap<java.lang.Object,java.lang.Object>public java.util.Map<java.lang.Object,java.lang.Object> map()
EMap
map in interface EMap<java.lang.Object,java.lang.Object>public java.util.Collection<java.lang.Object> values()
EMap
values in interface EMap<java.lang.Object,java.lang.Object>
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
EMapnull.
The key, the value, or both may be null.
Either the existing entry is updated,
or a new entry is added to the end of the list.
put in interface EMap<java.lang.Object,java.lang.Object>key - the key of the value.value - the value associated with the key.
null.public void putAll(EMap<? extends java.lang.Object,? extends java.lang.Object> map)
EMapMap.Entry of the given map into this one.
putAll in interface EMap<java.lang.Object,java.lang.Object>map - the map of entries.EMap.put(K, V)public void putAll(java.util.Map<? extends java.lang.Object,? extends java.lang.Object> map)
EMapMap.Entry of the given map into this one.
putAll in interface EMap<java.lang.Object,java.lang.Object>map - the map of entries.EMap.put(K, V)public java.lang.Object removeKey(java.lang.Object key)
EMap
removeKey in interface EMap<java.lang.Object,java.lang.Object>key - the key of a value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||