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 voidclear()booleancontainsKey(Object pKey)booleancontainsValue(Object pValue)Set<Map.Entry<K,V>>entrySet()booleanequals(Object pObj)Vget(Object pKey)inthashCode()booleanisEmpty()Set<K>keySet()Vput(K pKey, V pValue)voidputAll(Map<? extends K,? extends V> pMap)Vremove(Object pKey)intsize()StringtoString()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()
-
-