public abstract class DelegatingObservableMap<K,V> extends ObservableMapBase<K,V> implements ObservableMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
DelegatingObservableMap(ObservableMap<K,V> delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
boolean |
equals(Object o) |
V |
get(Object key) |
protected ObservableMap<K,V> |
getDelegate() |
int |
hashCode() |
boolean |
isEmpty() |
Set<K> |
keySet() |
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> m) |
V |
remove(Object key) |
int |
size() |
protected abstract void |
sourceChanged(MapChangeListener.Change<? extends K,? extends V> c) |
String |
toString() |
Collection<V> |
values() |
addListener, addListener, fireChange, hasListeners, removeListener, removeListenerclonefinalize, getClass, notify, notifyAll, wait, wait, waitaddListener, removeListenercompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAlladdListener, removeListenerpublic DelegatingObservableMap(@Nonnull ObservableMap<K,V> delegate)
@Nonnull protected ObservableMap<K,V> getDelegate()
protected abstract void sourceChanged(@Nonnull MapChangeListener.Change<? extends K,? extends V> c)
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>public void clear()
public Collection<V> values()
public boolean equals(Object o)
public int hashCode()
public String toString()
toString in class AbstractMap<K,V>