public class IcedHashMap<K,V> extends IcedHashMapBase<K,V> implements java.util.concurrent.ConcurrentMap<K,V>
IcedHashMapBase.ArrayType, IcedHashMapBase.KeyType, IcedHashMapBase.ValueType
Constructor and Description |
---|
IcedHashMap() |
Modifier and Type | Method and Description |
---|---|
K |
getk(K key) |
protected java.util.Map<K,V> |
init() |
protected java.util.Map<K,V> |
map() |
V |
putIfAbsent(K key,
V value) |
boolean |
remove(java.lang.Object key,
java.lang.Object value) |
V |
replace(K key,
V value) |
boolean |
replace(K key,
V oldValue,
V newValue) |
protected boolean |
writeable()
Can the map be modified?
By default we don't make any assumptions about the implementation of the backing Map and we will write-lock
the map when we are trying to serialize it.
|
protected void |
writeMap(AutoBuffer ab,
byte mode) |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, read_impl, readJSON_impl, readKey, readValue, remove, size, toString, values, write_impl, writeJSON_impl, writeKey, writeValue
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonBytes, toJsonString, write, writeExternal, writeJSON
finalize, getClass, notify, notifyAll, wait, wait, wait
public boolean remove(java.lang.Object key, java.lang.Object value)
protected void writeMap(AutoBuffer ab, byte mode)
writeMap
in class IcedHashMapBase<K,V>
protected boolean writeable()
IcedHashMapBase
writeable
in class IcedHashMapBase<K,V>