Class ParameterMap

All Implemented Interfaces:
Serializable, ConcurrentMap<String,Object>, Map<String,Object>, Bindings, org.graalvm.polyglot.proxy.Proxy, org.graalvm.polyglot.proxy.ProxyObject

public class ParameterMap extends ConcurrentHashMap<String,Object> implements Bindings, org.graalvm.polyglot.proxy.ProxyObject

A concurrently accessible parameter map which holds both keys and values as strings. An atomic change counter tracks updates, to allow interested consumers to determine when to re-read values across threads. The basic format is <paramname>=<paramvalue>;...

To create a parameter map, use one of the static parse... methods.

No non-String types are used internally. Everything is encoded as a String, even though the generic type is parameterized for Bindings support.

See Also: