public class FastCopyHashMap<K,V> extends AbstractMap<K,V> implements java.util.Map<K,V>, java.lang.Cloneable, java.io.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(java.util.Map<? extends K,? extends V> map) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
FastCopyHashMap<K,V> |
clone() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set<java.util.Map.Entry<K,V>> |
entrySet() |
V |
get(java.lang.Object key) |
boolean |
isEmpty() |
java.util.Set<K> |
keySet() |
void |
printDebugStats() |
V |
put(K key,
V value) |
void |
putAll(java.util.Map<? extends K,? extends V> map) |
V |
remove(java.lang.Object key) |
int |
size() |
java.lang.String |
toString()
Returns a string representation of this map.
|
java.util.Collection<V> |
values() |
assertKeyNotNull, eq, hash, hashCodepublic FastCopyHashMap(int initialCapacity,
float loadFactor)
public FastCopyHashMap(int initialCapacity)
public FastCopyHashMap()
public boolean containsKey(java.lang.Object key)
public java.lang.String toString()
String.valueOf(Object).toString in class java.lang.Objectpublic boolean containsValue(java.lang.Object value)
public FastCopyHashMap<K,V> clone()
clone in class java.lang.Objectpublic void printDebugStats()