
public final class JsMapFromIntToString extends JavaScriptObject implements MapFromIntToString
MapFromIntToString.| Modifier | Constructor and Description |
|---|---|
protected |
JsMapFromIntToString() |
| Modifier and Type | Method and Description |
|---|---|
static JsMapFromIntToString |
create()
Create a new empty map instance.
|
String |
get(int key)
Retrieves a value for the specified key.
|
boolean |
hasKey(int key)
Indicates whether the map contains a value for the specified key.
|
JsArrayOfInt |
keys()
The keys contained within this map.
|
void |
put(int key,
String value)
Associates a value to the specified key.
|
void |
remove(int key)
Removes the value associated with the specified value, if one exists.
|
void |
set(int key,
String value) |
JsArrayOfString |
values()
The values contained in this map.
|
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toStringpublic static JsMapFromIntToString create()
public String get(int key)
MapFromIntToStringget in interface MapFromIntToStringpublic boolean hasKey(int key)
MapFromIntToStringhasKey in interface MapFromIntToStringpublic JsArrayOfInt keys()
MapFromIntToStringkeys in interface MapFromIntToStringpublic void put(int key,
String value)
MapFromIntToStringput in interface MapFromIntToStringpublic void remove(int key)
MapFromIntToStringremove in interface MapFromIntToStringpublic void set(int key,
String value)
public JsArrayOfString values()
MapFromIntToStringvalues in interface MapFromIntToStringCopyright © 2016. All rights reserved.