
public final class JsMapFromStringToNumber extends JavaScriptObject implements MapFromStringToNumber
MapFromStringToNumber.| Modifier | Constructor and Description |
|---|---|
protected |
JsMapFromStringToNumber() |
| Modifier and Type | Method and Description |
|---|---|
static <T> JsMapFromStringToNumber |
create()
Create a new empty map instance.
|
double |
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,
double value)
Associates a value to the specified key.
|
void |
remove(String key)
Removes the value associated with the specified value, if one exists.
|
JsArrayOfNumber |
values()
The values contained in this map.
|
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toStringpublic static <T> JsMapFromStringToNumber create()
public double get(String key)
MapFromStringToNumberget in interface MapFromStringToNumberpublic boolean hasKey(String key)
MapFromStringToNumberhasKey in interface MapFromStringToNumberpublic JsArrayOfString keys()
MapFromStringToNumberkeys in interface MapFromStringToNumberpublic void put(String key, double value)
MapFromStringToNumberput in interface MapFromStringToNumberpublic void remove(String key)
MapFromStringToNumberremove in interface MapFromStringToNumberpublic JsArrayOfNumber values()
MapFromStringToNumbervalues in interface MapFromStringToNumberCopyright © 2016. All rights reserved.