@NotThreadSafe public static final class MapValue.Builder extends Object
MapValue| Modifier and Type | Method and Description |
|---|---|
VariableValue |
build()
Build the value
|
MapValue.Builder |
put(String key,
Object value)
Add one key/value pair to the map
|
<T> MapValue.Builder |
putAll(Map<String,T> map)
Inject a map of key/value pairs
|
public MapValue.Builder put(String key, Object value)
key - the keyvalue - the valueNullPointerException - the key or value is nullpublic <T> MapValue.Builder putAll(Map<String,T> map)
T - the type of this map's valuesmap - the mapNullPointerException - map is null, or one of its keys or
values is nullpublic VariableValue build()
VariableValueCopyright © 2013. All Rights Reserved.