
public final class JsMapFromStringToString extends JavaScriptObject implements MapFromStringToString
MapFromStringToString.| Modifier | Constructor and Description |
|---|---|
protected |
JsMapFromStringToString() |
| Modifier and Type | Method and Description |
|---|---|
static <T> JsMapFromStringToString |
create()
Create a new empty map instance.
|
String |
get(String key)
Retrieves a value for the specified key.
|
boolean |
hasKey(String key)
Indicates whether the map contains a value for the specified key.
|
JsArrayOfString |
keys()
The keys contained within this map.
|
void |
put(String key,
String value)
Associates a value to the specified key.
|
void |
remove(String key)
Removes the value associated with the specified value, if one exists.
|
JsArrayOfString |
values()
The values contained in this map.
|
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toStringpublic static <T> JsMapFromStringToString create()
public String get(String key)
MapFromStringToStringget in interface MapFromStringToStringpublic boolean hasKey(String key)
MapFromStringToStringhasKey in interface MapFromStringToStringpublic JsArrayOfString keys()
MapFromStringToStringkeys in interface MapFromStringToStringpublic void put(String key, String value)
MapFromStringToStringput in interface MapFromStringToStringpublic void remove(String key)
MapFromStringToStringremove in interface MapFromStringToStringpublic JsArrayOfString values()
MapFromStringToStringvalues in interface MapFromStringToStringCopyright © 2016. All rights reserved.