V - the type of values stored in the Mappublic class SimpleStringMap<V>
extends com.google.gwt.core.client.JavaScriptObject
| Modifier | Constructor and Description |
|---|---|
protected |
SimpleStringMap() |
| Modifier and Type | Method and Description |
|---|---|
V |
get(java.lang.String key)
Get a value indexed by a key.
|
void |
put(java.lang.String key,
V value)
Put the value in the map at the given key.
|
public final V get(java.lang.String key)
key - index to use for retrievalnull otherwisepublic final void put(java.lang.String key,
V value)
key must be a value
accepted by the underlying adapter; that is, a call to adapt(element) produces a non-null result.key - index to the valuevalue - value to be storedCopyright © 2014. All Rights Reserved.