K - the key typeV - the value typepublic final class SecureHashMap<K,V> extends AbstractMap<K,V> implements ConcurrentMap<K,V>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
SecureHashMap()
Construct a new instance.
|
SecureHashMap(float loadFactor)
Construct a new instance.
|
SecureHashMap(int initialCapacity)
Construct a new instance.
|
SecureHashMap(int initialCapacity,
float loadFactor)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
Set<K> |
keySet() |
V |
put(K key,
V value) |
V |
putIfAbsent(K key,
V value) |
V |
remove(Object objectKey) |
boolean |
remove(Object objectKey,
Object objectValue) |
V |
replace(K key,
V value) |
boolean |
replace(K key,
V oldValue,
V newValue) |
int |
size() |
Collection<V> |
values() |
clone, containsValue, equals, hashCode, isEmpty, putAll, toStringpublic SecureHashMap(int initialCapacity,
float loadFactor)
initialCapacity - the initial capacityloadFactor - the load factorpublic SecureHashMap(float loadFactor)
loadFactor - the load factorpublic SecureHashMap(int initialCapacity)
initialCapacity - the initial capacitypublic SecureHashMap()
public V putIfAbsent(K key, V value)
putIfAbsent in interface ConcurrentMap<K,V>public boolean remove(Object objectKey, Object objectValue)
remove in interface ConcurrentMap<K,V>public boolean replace(K key, V oldValue, V newValue)
replace in interface ConcurrentMap<K,V>public int size()
public boolean containsKey(Object key)
containsKey in interface Map<K,V>containsKey in class AbstractMap<K,V>public void clear()
public Collection<V> values()
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.