public class FastCopyHashMap<K,V> extends AbstractMap<K,V> implements Map<K,V>, Cloneable, Serializable
Modifier and Type | Class and Description |
---|---|
class |
FastCopyHashMap.EntrySet |
class |
FastCopyHashMap.KeySet |
class |
FastCopyHashMap.Values |
AbstractMap.SimpleEntry<K,V>
entrySet, keySet, values
Constructor and Description |
---|
FastCopyHashMap() |
FastCopyHashMap(int initialCapacity) |
FastCopyHashMap(int initialCapacity,
float loadFactor) |
FastCopyHashMap(Map<? extends K,? extends V> map) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
FastCopyHashMap<K,V> |
clone() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
V |
get(Object key) |
boolean |
isEmpty() |
Set<K> |
keySet() |
void |
printDebugStats() |
V |
put(K key,
V value) |
void |
putAll(Map<? extends K,? extends V> map) |
V |
remove(Object key) |
int |
size() |
String |
toString()
Returns a string representation of this map.
|
Collection<V> |
values() |
assertKeyNotNull, eq, hash, hashCode
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public FastCopyHashMap(int initialCapacity, float loadFactor)
public FastCopyHashMap(int initialCapacity)
public FastCopyHashMap()
public boolean containsKey(Object key)
containsKey
in interface Map<K,V>
public String toString()
String.valueOf(Object)
.public boolean containsValue(Object value)
containsValue
in interface Map<K,V>
public FastCopyHashMap<K,V> clone()
public void printDebugStats()
Copyright © 2021 JBoss by Red Hat. All rights reserved.