Module com.iamsoft.util.ui
Class DefaultObservableMap<K,V>
- java.lang.Object
-
- com.iamsoft.util.ui.javafx.AbstractObservable
-
- com.iamsoft.util.ui.javafx.collections.AbstractObservableMap<K,V>
-
- com.iamsoft.util.ui.javafx.collections.DefaultObservableMap<K,V>
-
- Type Parameters:
K
- Key type.V
- Value type.
- All Implemented Interfaces:
Map<K,V>
,javafx.beans.Observable
,javafx.collections.ObservableMap<K,V>
public class DefaultObservableMap<K,V> extends AbstractObservableMap<K,V>
Allow method overrides (unlike FXCollections.observableHashMap()).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.iamsoft.util.ui.javafx.AbstractObservable
AbstractObservable.Exposed
-
-
Constructor Summary
Constructors Constructor Description DefaultObservableMap()
DefaultObservableMap(Map<K,V> pDelegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(Object pKey)
boolean
containsValue(Object pValue)
Set<Map.Entry<K,V>>
entrySet()
boolean
equals(Object pObj)
V
get(Object pKey)
int
hashCode()
boolean
isEmpty()
Set<K>
keySet()
V
put(K pKey, V pValue)
void
putAll(Map<? extends K,? extends V> pMap)
V
remove(Object pKey)
int
size()
String
toString()
Collection<V>
values()
-
Methods inherited from class com.iamsoft.util.ui.javafx.collections.AbstractObservableMap
addListener, fireMapChange, removeListener
-
Methods inherited from class com.iamsoft.util.ui.javafx.AbstractObservable
addListener, fireEvent, removeListener
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
size
public int size()
-
isEmpty
public boolean isEmpty()
-
containsKey
public boolean containsKey(Object pKey)
-
containsValue
public boolean containsValue(Object pValue)
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object pObj)
-
clear
public void clear()
-
values
public Collection<V> values()
-
-