K - V - @StorableClass @StoreNotUseStandardSerialization public class PSingletonMap<K,V> extends PAbstractMap<K,V> implements Serializable
| Constructor and Description |
|---|
PSingletonMap(IInstanceFactory instanceFactory,
K key,
V value) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListerner(IMapListener<K,V> listener) |
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
int |
getIdentifier() |
boolean |
isEmpty() |
Set<K> |
keySet() |
static PSingletonMap |
newInstance(IInstanceFactory instanceFactory,
Object key,
Object value) |
void |
notifyAdded(Map.Entry<K,V> added) |
void |
notifyRemoved(Map.Entry<K,V> removed) |
V |
put(K key,
V value) |
V |
remove(Object key) |
void |
removeListener(int listenerIdentifier) |
int |
size() |
Collection<V> |
values() |
equals, hashCode, putAll, toStringpublic PSingletonMap(IInstanceFactory instanceFactory, K key, V value)
public static PSingletonMap newInstance(IInstanceFactory instanceFactory, Object key, Object value)
public int size()
public boolean isEmpty()
public boolean containsKey(Object key)
containsKey in interface Map<K,V>public boolean containsValue(Object value)
containsValue in interface Map<K,V>containsValue in class PAbstractMap<K,V>public int getIdentifier()
getIdentifier in interface ICollectionListener<Map.Entry<K,V>>public void notifyRemoved(Map.Entry<K,V> removed)
notifyRemoved in interface ICollectionListener<Map.Entry<K,V>>public void notifyAdded(Map.Entry<K,V> added)
notifyAdded in interface ICollectionListener<Map.Entry<K,V>>public void addListerner(IMapListener<K,V> listener)
addListerner in interface IMapListenable<K,V>public void removeListener(int listenerIdentifier)
removeListener in interface IMapListenable<K,V>Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.