public abstract class Map
extends java.lang.Object
Constructor and Description |
---|
Map() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
containsKey(java.lang.String key)
Returns true if this map contains a mapping for the specified key.
|
abstract java.lang.Object |
get(java.lang.String key)
Returns the value to which this map maps the specified key.
|
abstract void |
put(java.lang.String key,
java.lang.Object value)
Associates the specified value with the specified key in this map.
|
abstract java.lang.Object |
remove(java.lang.String key)
Removes the mapping for this key from this map if it is present.
|
public abstract boolean containsKey(java.lang.String key)
public abstract java.lang.Object get(java.lang.String key)
public abstract void put(java.lang.String key, java.lang.Object value)
public abstract java.lang.Object remove(java.lang.String key)