K
- V
- @StoreNotUseStandardSerialization @StorableClass public class PHashMap<K,V> extends PAbstractMap<K,V> implements Map<K,V>, Cloneable, Serializable
Constructor and Description |
---|
PHashMap() |
PHashMap(boolean concurrentAccess) |
PHashMap(IEqualsHashComparator comparator) |
PHashMap(IEqualsHashComparator comparator,
boolean concurrentAccess) |
PHashMap(IInstanceFactory instanceFactory) |
PHashMap(IInstanceFactory instanceFactory,
boolean concurrentAccess) |
PHashMap(IInstanceFactory instanceFactory,
IEqualsHashComparator comparator) |
PHashMap(IInstanceFactory instanceFactory,
IEqualsHashComparator comparator,
boolean concurrentAccess) |
Modifier and Type | Method and Description |
---|---|
void |
addListerner(IMapListener<K,V> listener) |
void |
clear() |
PHashMap<K,V> |
clone() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
int |
getIdentifier() |
Set<K> |
keySet() |
static PHashMap |
newInstance(IInstanceFactory instanceFactory) |
static PHashMap |
newInstance(IInstanceFactory instanceFactory,
boolean concurrentAccess) |
static PHashMap |
newInstance(IInstanceFactory instanceFactory,
IEqualsHashComparator comparator) |
static PHashMap |
newInstance(IInstanceFactory instanceFactory,
IEqualsHashComparator comparator,
boolean concurrentAccess) |
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) |
void |
setHashSet(PHashSet<Map.Entry<K,V>> hashSet) |
int |
size() |
Collection<V> |
values() |
equals, hashCode, isEmpty, putAll, toString
public PHashMap()
public PHashMap(IInstanceFactory instanceFactory)
public PHashMap(boolean concurrentAccess)
public PHashMap(IInstanceFactory instanceFactory, boolean concurrentAccess)
public PHashMap(IEqualsHashComparator comparator)
public PHashMap(IInstanceFactory instanceFactory, IEqualsHashComparator comparator)
public PHashMap(IEqualsHashComparator comparator, boolean concurrentAccess)
public PHashMap(IInstanceFactory instanceFactory, IEqualsHashComparator comparator, boolean concurrentAccess)
public static PHashMap newInstance(IInstanceFactory instanceFactory)
public static PHashMap newInstance(IInstanceFactory instanceFactory, boolean concurrentAccess)
public static PHashMap newInstance(IInstanceFactory instanceFactory, IEqualsHashComparator comparator)
public static PHashMap newInstance(IInstanceFactory instanceFactory, IEqualsHashComparator comparator, boolean concurrentAccess)
public void addListerner(IMapListener<K,V> listener)
addListerner
in interface IMapListenable<K,V>
public void removeListener(int listenerIdentifier)
removeListener
in interface IMapListenable<K,V>
public int getIdentifier()
getIdentifier
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 notifyRemoved(Map.Entry<K,V> removed)
notifyRemoved
in interface ICollectionListener<Map.Entry<K,V>>
public int size()
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>
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.