org.granite.client.persistence.javafx
Class PersistentMap<K,V>
java.lang.Object
org.granite.client.persistence.javafx.PersistentMap<K,V>
- All Implemented Interfaces:
- Externalizable, Serializable, Map<K,V>, javafx.beans.Observable, javafx.collections.ObservableMap<K,V>, LazyableCollection
public class PersistentMap<K,V>
- extends Object
- implements javafx.collections.ObservableMap<K,V>, LazyableCollection, Externalizable
- Author:
- William DRAI
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
PersistentMap
public PersistentMap()
PersistentMap
public PersistentMap(Map<K,V> map)
PersistentMap
public PersistentMap(boolean initialized)
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized in interface LazyableCollection
initializing
public void initializing()
- Specified by:
initializing in interface LazyableCollection
initialize
public void initialize()
- Specified by:
initialize in interface LazyableCollection
uninitialize
public void uninitialize()
- Specified by:
uninitialize in interface LazyableCollection
clone
public PersistentMap<K,V> clone(boolean uninitialize)
- Specified by:
clone in interface LazyableCollection
addListener
public void addListener(javafx.beans.InvalidationListener listener)
- Specified by:
addListener in interface javafx.beans.Observable
removeListener
public void removeListener(javafx.beans.InvalidationListener listener)
- Specified by:
removeListener in interface javafx.beans.Observable
addListener
public void addListener(javafx.collections.MapChangeListener<? super K,? super V> listener)
- Specified by:
addListener in interface javafx.collections.ObservableMap<K,V>
removeListener
public void removeListener(javafx.collections.MapChangeListener<? super K,? super V> listener)
- Specified by:
removeListener in interface javafx.collections.ObservableMap<K,V>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface Map<K,V>
keySet
public Set<K> keySet()
- Specified by:
keySet in interface Map<K,V>
entrySet
public Set<Map.Entry<K,V>> entrySet()
- Specified by:
entrySet in interface Map<K,V>
values
public Collection<V> values()
- Specified by:
values in interface Map<K,V>
containsKey
public boolean containsKey(Object o)
- Specified by:
containsKey in interface Map<K,V>
containsValue
public boolean containsValue(Object o)
- Specified by:
containsValue in interface Map<K,V>
get
public V get(Object key)
- Specified by:
get in interface Map<K,V>
put
public V put(K key,
V value)
- Specified by:
put in interface Map<K,V>
putAll
public void putAll(Map<? extends K,? extends V> map)
- Specified by:
putAll in interface Map<K,V>
remove
public V remove(Object o)
- Specified by:
remove in interface Map<K,V>
clear
public void clear()
- Specified by:
clear in interface Map<K,V>
size
public int size()
- Specified by:
size in interface Map<K,V>
equals
public boolean equals(Object o)
- Specified by:
equals in interface Map<K,V>- Overrides:
equals in class Object
hashCode
public int hashCode()
- Specified by:
hashCode in interface Map<K,V>- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
readExternal
public void readExternal(ObjectInput input)
throws IOException,
ClassNotFoundException
- Specified by:
readExternal in interface Externalizable
- Throws:
IOException
ClassNotFoundException
writeExternal
public void writeExternal(ObjectOutput output)
throws IOException
- Specified by:
writeExternal in interface Externalizable
- Throws:
IOException