Class JreJsWeakMap<K,V>
java.lang.Object
com.vaadin.client.flow.collection.jre.JreJsWeakMap<K,V>
- Type Parameters:
K- the key typeV- the value type
- All Implemented Interfaces:
JsWeakMap<K,V>
Deprecated.
Should only be used for testing.
JRE implementation of
JsMap, should only be used for testing.- Since:
- 1.0
- Author:
- Vaadin Ltd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanDeprecated.Removes the mapping for a given key.Deprecated.Gets the value mapped for the given key.booleanDeprecated.Checks whether this map contains a mapping for the given key.Deprecated.Sets a value in this map, overwriting any previous mapping if present.
-
Constructor Details
-
JreJsWeakMap
public JreJsWeakMap()Deprecated.
-
-
Method Details
-
set
Deprecated.Description copied from interface:JsWeakMapSets a value in this map, overwriting any previous mapping if present. -
get
Deprecated.Description copied from interface:JsWeakMapGets the value mapped for the given key. Returnsnullif there is no mapping, if the key is explicitly mapped tonullor if the key has been garbage collected. -
has
Deprecated.Description copied from interface:JsWeakMapChecks whether this map contains a mapping for the given key. -
delete
Deprecated.Description copied from interface:JsWeakMapRemoves the mapping for a given key.
-