K - the key typeV - the value type@Deprecated public class JreJsWeakMap<K,V> extends Object implements JsWeakMap<K,V>
JsMap, should only be used for testing.| Constructor and Description |
|---|
JreJsWeakMap()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete(K key)
Deprecated.
Removes the mapping for a given key.
|
V |
get(K key)
Deprecated.
Gets the value mapped for the given key.
|
boolean |
has(K key)
Deprecated.
Checks whether this map contains a mapping for the given key.
|
JsWeakMap<K,V> |
set(K key,
V value)
Deprecated.
Sets a value in this map, overwriting any previous mapping if present.
|
public JsWeakMap<K,V> set(K key, V value)
JsWeakMappublic V get(K key)
JsWeakMapnull if
there is no mapping, if the key is explicitly mapped to null
or if the key has been garbage collected.public boolean has(K key)
JsWeakMapCopyright © 2000–2019 Vaadin Ltd. All rights reserved.