clojure.lang
Class TransactionalHashMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
clojure.lang.TransactionalHashMap<K,V>
- All Implemented Interfaces:
- java.util.concurrent.ConcurrentMap<K,V>, java.util.Map<K,V>
public class TransactionalHashMap<K,V>
- extends java.util.AbstractMap<K,V>
- implements java.util.concurrent.ConcurrentMap<K,V>
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Methods inherited from class java.util.AbstractMap |
clone, containsValue, equals, hashCode, keySet, toString, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
containsValue, equals, hashCode, keySet, values |
TransactionalHashMap
public TransactionalHashMap()
TransactionalHashMap
public TransactionalHashMap(int nBins)
TransactionalHashMap
public TransactionalHashMap(java.util.Map<? extends K,? extends V> m)
size
public int size()
- Specified by:
size
in interface java.util.Map<K,V>
- Overrides:
size
in class java.util.AbstractMap<K,V>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface java.util.Map<K,V>
- Overrides:
isEmpty
in class java.util.AbstractMap<K,V>
containsKey
public boolean containsKey(java.lang.Object k)
- Specified by:
containsKey
in interface java.util.Map<K,V>
- Overrides:
containsKey
in class java.util.AbstractMap<K,V>
get
public V get(java.lang.Object k)
- Specified by:
get
in interface java.util.Map<K,V>
- Overrides:
get
in class java.util.AbstractMap<K,V>
put
public V put(K k,
V v)
- Specified by:
put
in interface java.util.Map<K,V>
- Overrides:
put
in class java.util.AbstractMap<K,V>
remove
public V remove(java.lang.Object k)
- Specified by:
remove
in interface java.util.Map<K,V>
- Overrides:
remove
in class java.util.AbstractMap<K,V>
putAll
public void putAll(java.util.Map<? extends K,? extends V> map)
- Specified by:
putAll
in interface java.util.Map<K,V>
- Overrides:
putAll
in class java.util.AbstractMap<K,V>
clear
public void clear()
- Specified by:
clear
in interface java.util.Map<K,V>
- Overrides:
clear
in class java.util.AbstractMap<K,V>
entrySet
public java.util.Set<java.util.Map.Entry<K,V>> entrySet()
- Specified by:
entrySet
in interface java.util.Map<K,V>
- Specified by:
entrySet
in class java.util.AbstractMap<K,V>
putIfAbsent
public V putIfAbsent(K k,
V v)
- Specified by:
putIfAbsent
in interface java.util.concurrent.ConcurrentMap<K,V>
remove
public boolean remove(java.lang.Object k,
java.lang.Object v)
- Specified by:
remove
in interface java.util.concurrent.ConcurrentMap<K,V>
replace
public boolean replace(K k,
V oldv,
V newv)
- Specified by:
replace
in interface java.util.concurrent.ConcurrentMap<K,V>
replace
public V replace(K k,
V v)
- Specified by:
replace
in interface java.util.concurrent.ConcurrentMap<K,V>
Copyright © 2011. All Rights Reserved.