Constructor and Description |
---|
JsLightMap()
Construct a
JsLightMap |
JsLightMap(com.google.gwt.core.client.JavaScriptObject data)
Construct a
JsLightMap using a given javascript object |
Modifier and Type | Method and Description |
---|---|
void |
clear()
remove all objects from this map
|
boolean |
containsKey(String key)
does the map contain a key
|
V |
get(String key)
get a value from the map
|
LightArray<String> |
getKeys()
get all keys for this map
|
com.google.gwt.core.client.JavaScriptObject |
getMap()
get the underlying javascript object
|
void |
put(String key,
V value)
put a value into the map
|
void |
remove(String key)
remove a value from the map
|
public JsLightMap()
JsLightMap
public JsLightMap(com.google.gwt.core.client.JavaScriptObject data)
JsLightMap
using a given javascript objectdata
- the javascript object to usepublic final void clear()
LightMap
public final boolean containsKey(String key)
LightMap
containsKey
in interface LightMap<V>
key
- the key to test forpublic void remove(String key)
LightMap
public void put(String key, V value)
LightMap
public LightArray<String> getKeys()
LightMap
public com.google.gwt.core.client.JavaScriptObject getMap()
Copyright © 2020 Magnolia International Ltd.. All rights reserved.