public final class JsMapFromStringToBoolean extends JavaScriptObject implements MapFromStringToBoolean
MapFromStringToBoolean
.Modifier | Constructor and Description |
---|---|
protected |
JsMapFromStringToBoolean() |
Modifier and Type | Method and Description |
---|---|
static <T> JsMapFromStringToBoolean |
create()
Create a new empty map instance.
|
boolean |
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,
boolean value)
Associates a value to the specified key.
|
void |
remove(String key)
Removes the value associated with the specified value, if one exists.
|
JsArrayOfBoolean |
values()
The values contained in this map.
|
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
public static <T> JsMapFromStringToBoolean create()
public boolean get(String key)
MapFromStringToBoolean
get
in interface MapFromStringToBoolean
public boolean hasKey(String key)
MapFromStringToBoolean
hasKey
in interface MapFromStringToBoolean
public JsArrayOfString keys()
MapFromStringToBoolean
keys
in interface MapFromStringToBoolean
public void put(String key, boolean value)
MapFromStringToBoolean
put
in interface MapFromStringToBoolean
public void remove(String key)
MapFromStringToBoolean
remove
in interface MapFromStringToBoolean
public JsArrayOfBoolean values()
MapFromStringToBoolean
values
in interface MapFromStringToBoolean
Copyright © 2018. All rights reserved.