public class FastHashMap
extends java.lang.Object
implements java.util.Map, java.io.Serializable
null
key is allowed; null
values are allowed.Constructor and Description |
---|
FastHashMap()
Constructor for Message.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set |
entrySet() |
java.lang.Object |
get(java.lang.Object key) |
java.lang.Object[] |
getKeys() |
boolean |
isEmpty() |
java.util.Set |
keySet() |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value) |
void |
putAll(java.util.Map map) |
java.lang.Object |
remove(java.lang.Object key) |
int |
size() |
java.lang.String |
toString() |
java.util.Collection |
values() |
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
put
in interface java.util.Map
key
- value
- public java.lang.Object get(java.lang.Object key)
get
in interface java.util.Map
key
- public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map
key
- public java.lang.Object[] getKeys()
public int size()
size
in interface java.util.Map
Map.size()
public boolean isEmpty()
isEmpty
in interface java.util.Map
Map.isEmpty()
public boolean containsValue(java.lang.Object value)
containsValue
in interface java.util.Map
value
- Map.containsValue(java.lang.Object)
public java.lang.Object remove(java.lang.Object key)
remove
in interface java.util.Map
key
- Map.remove(java.lang.Object)
public void putAll(java.util.Map map)
putAll
in interface java.util.Map
map
- Map.putAll(java.util.Map)
public void clear()
clear
in interface java.util.Map
Map.clear()
public java.util.Set keySet()
keySet
in interface java.util.Map
Map.keySet()
public java.util.Collection values()
values
in interface java.util.Map
Map.values()
public java.util.Set entrySet()
entrySet
in interface java.util.Map
Map.entrySet()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()