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, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAllpublic 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 © 2015 JBoss by Red Hat. All rights reserved.