private static class FXCollections.EmptyObservableMap<K,V> extends java.util.AbstractMap<K,V> implements ObservableMap<K,V>
Constructor and Description |
---|
EmptyObservableMap() |
Modifier and Type | Method and Description |
---|---|
void |
addListener(InvalidationListener listener)
Add a listener to this observable map.
|
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet() |
boolean |
equals(java.lang.Object o) |
V |
get(java.lang.Object key) |
int |
hashCode() |
boolean |
isEmpty() |
java.util.Set<K> |
keySet() |
void |
removeListener(InvalidationListener listener)
Tries to removed a listener from this observable map.
|
int |
size() |
java.util.Collection<V> |
values() |
public void addListener(InvalidationListener listener)
ObservableMap
addListener
in interface ObservableMap<K,V>
listener
- the listener for listening to the list changespublic void removeListener(InvalidationListener listener)
ObservableMap
removeListener
in interface ObservableMap<K,V>
listener
- a listener to removepublic int size()
public boolean isEmpty()
public boolean containsKey(java.lang.Object key)
public boolean containsValue(java.lang.Object value)
public V get(java.lang.Object key)
public java.util.Set<K> keySet()
public java.util.Collection<V> values()
public boolean equals(java.lang.Object o)