K
- type of the keys in the mapV
- type of the values in the mappublic interface IObservableMap<K,V> extends Map<K,V>, IObservable
AbstractObservableMap
,
ObservableMap
Modifier and Type | Method and Description |
---|---|
void |
addMapChangeListener(IMapChangeListener<? super K,? super V> listener) |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
boolean |
equals(Object o) |
V |
get(Object key) |
Object |
getKeyType()
Returns the element type for the
keyset of this
observable map, or null if the keyset is untyped. |
Object |
getValueType()
Returns the element type for the
values of this
observable map, or null if the values collection is untyped. |
int |
hashCode() |
boolean |
isEmpty() |
Set<K> |
keySet() |
V |
put(K key,
V value) |
V |
remove(Object key) |
void |
removeMapChangeListener(IMapChangeListener<? super K,? super V> listener) |
int |
size() |
Collection<V> |
values() |
clear, compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putAll, putIfAbsent, remove, replace, replace, replaceAll
addChangeListener, addDisposeListener, addStaleListener, dispose, getRealm, isDisposed, isStale, removeChangeListener, removeDisposeListener, removeStaleListener
Object getKeyType()
keyset
of this
observable map, or null
if the keyset is untyped.keyset
of this
observable map, or null
if the keyset is untyped.Object getValueType()
values
of this
observable map, or null
if the values collection is untyped.values
of this
observable map, or null
if the values collection is
untyped.void addMapChangeListener(IMapChangeListener<? super K,? super V> listener)
listener
- void removeMapChangeListener(IMapChangeListener<? super K,? super V> listener)
listener
- boolean containsKey(Object key)
containsKey
in interface Map<K,V>
boolean containsValue(Object value)
containsValue
in interface Map<K,V>
boolean equals(Object o)
Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.