K
- V
- @StoreNotUseStandardSerialization public class PLinkedHashMap<K,V> extends PAbstractMap<K,V> implements Map<K,V>, Cloneable, Serializable
#moveToFirstPosition(key)
#moveToLastPosition(key)
Modifier | Constructor and Description |
---|---|
|
PLinkedHashMap() |
|
PLinkedHashMap(IEqualsHashComparator comparator) |
protected |
PLinkedHashMap(IInstanceFactory instanceFactory) |
|
PLinkedHashMap(IInstanceFactory instanceFactory,
IEqualsHashComparator comparator) |
Modifier and Type | Method and Description |
---|---|
void |
addListerner(IMapListener<K,V> listener) |
void |
clear() |
PLinkedHashMap<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 PLinkedHashMap |
newInstance(IInstanceFactory instanceFactory) |
static PLinkedHashMap |
newInstance(IInstanceFactory instanceFactory,
IEqualsHashComparator comparator) |
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(PLinkedHashSet<Map.Entry<K,V>> hashSet) |
int |
size() |
Collection<V> |
values() |
equals, hashCode, isEmpty, putAll, toString
public PLinkedHashMap()
protected PLinkedHashMap(IInstanceFactory instanceFactory)
public PLinkedHashMap(IEqualsHashComparator comparator)
public PLinkedHashMap(IInstanceFactory instanceFactory, IEqualsHashComparator comparator)
public static PLinkedHashMap newInstance(IInstanceFactory instanceFactory)
public static PLinkedHashMap newInstance(IInstanceFactory instanceFactory, IEqualsHashComparator comparator)
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>
public PLinkedHashMap<K,V> clone()
public void setHashSet(PLinkedHashSet<Map.Entry<K,V>> hashSet)
Copyright © 2007-2012 Luc Peuvrier. All Rights Reserved.