K
- the key typeV
- the value type@Deprecated public 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()
Deprecated.
Construct a new instance.
|
SecureHashMap(float loadFactor)
Deprecated.
Construct a new instance.
|
SecureHashMap(int initialCapacity)
Deprecated.
Construct a new instance.
|
SecureHashMap(int initialCapacity,
float loadFactor)
Deprecated.
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deprecated.
|
boolean |
containsKey(Object key)
Deprecated.
|
Set<Map.Entry<K,V>> |
entrySet()
Deprecated.
|
V |
get(Object key)
Deprecated.
|
Set<K> |
keySet()
Deprecated.
|
V |
put(K key,
V value)
Deprecated.
|
V |
putIfAbsent(K key,
V value)
Deprecated.
|
V |
remove(Object objectKey)
Deprecated.
|
boolean |
remove(Object objectKey,
Object objectValue)
Deprecated.
|
V |
replace(K key,
V value)
Deprecated.
|
boolean |
replace(K key,
V oldValue,
V newValue)
Deprecated.
|
int |
size()
Deprecated.
|
Collection<V> |
values()
Deprecated.
|
clone, containsValue, equals, hashCode, isEmpty, putAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAll
public 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>
putIfAbsent
in interface Map<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 © 2016 JBoss by Red Hat. All rights reserved.