public class DefaultObservableMap<K,V> extends AbstractMap<K,V> implements ObservableMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
DefaultObservableMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(net.thevpc.nuts.NutsMapListener<K,V> listener) |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
net.thevpc.nuts.NutsMapListener<K,V>[] |
getListeners() |
boolean |
isEmpty() |
V |
put(K key,
V value) |
V |
remove(Object key) |
void |
removeListener(net.thevpc.nuts.NutsMapListener<K,V> listener) |
int |
size() |
clear, clone, equals, hashCode, keySet, putAll, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, keySet, merge, putAll, putIfAbsent, remove, replace, replace, replaceAll, valuespublic void addListener(net.thevpc.nuts.NutsMapListener<K,V> listener)
addListener in interface ObservableMap<K,V>public void removeListener(net.thevpc.nuts.NutsMapListener<K,V> listener)
removeListener in interface ObservableMap<K,V>public net.thevpc.nuts.NutsMapListener<K,V>[] getListeners()
getListeners in interface ObservableMap<K,V>public int size()
public boolean isEmpty()
public boolean containsValue(Object value)
containsValue in interface Map<K,V>containsValue in class AbstractMap<K,V>public boolean containsKey(Object key)
containsKey in interface Map<K,V>containsKey in class AbstractMap<K,V>Copyright © 2022 vpc open source initiative. All rights reserved.