public final class JsMapFromStringToNumber extends com.google.gwt.core.client.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.
|
public static <T> JsMapFromStringToNumber create()
public double get(String key)
MapFromStringToNumber
get
in interface MapFromStringToNumber
public boolean hasKey(String key)
MapFromStringToNumber
hasKey
in interface MapFromStringToNumber
public JsArrayOfString keys()
MapFromStringToNumber
keys
in interface MapFromStringToNumber
public void put(String key, double value)
MapFromStringToNumber
put
in interface MapFromStringToNumber
public void remove(String key)
MapFromStringToNumber
remove
in interface MapFromStringToNumber
public JsArrayOfNumber values()
MapFromStringToNumber
values
in interface MapFromStringToNumber
Copyright © 2016. All rights reserved.