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, toString
public static <T> JsMapFromStringToString create()
public String get(String key)
MapFromStringToString
get
in interface MapFromStringToString
public boolean hasKey(String key)
MapFromStringToString
hasKey
in interface MapFromStringToString
public JsArrayOfString keys()
MapFromStringToString
keys
in interface MapFromStringToString
public void put(String key, String value)
MapFromStringToString
put
in interface MapFromStringToString
public void remove(String key)
MapFromStringToString
remove
in interface MapFromStringToString
public JsArrayOfString values()
MapFromStringToString
values
in interface MapFromStringToString
Copyright © 2018. All rights reserved.