public abstract class ObservableMapBase<K,V> extends AbstractMap<K,V> implements ObservableMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ObservableMapBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(InvalidationListener listener) |
void |
addListener(MapChangeListener<? super K,? super V> listener) |
protected void |
fireChange(MapChangeListener.Change<? extends K,? extends V> change) |
protected boolean |
hasListeners()
Returns true if there are some listeners registered for this list.
|
void |
removeListener(InvalidationListener listener) |
void |
removeListener(MapChangeListener<? super K,? super V> listener) |
clear, clone, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic final void addListener(MapChangeListener<? super K,? super V> listener)
addListener in interface ObservableMap<K,V>public final void removeListener(MapChangeListener<? super K,? super V> listener)
removeListener in interface ObservableMap<K,V>public final void addListener(InvalidationListener listener)
addListener in interface Observablepublic final void removeListener(InvalidationListener listener)
removeListener in interface Observableprotected final void fireChange(MapChangeListener.Change<? extends K,? extends V> change)
protected final boolean hasListeners()