| javax.script.Bindings
All known Subclasses: javax.script.SimpleBindings,
Bindings | public interface Bindings extends Map<String, Object>(Code) | | A mapping of key/value pairs, all of whose keys are
Strings .
version: 1.0 author: Mike Grogan since: 1.6 |
Method Summary | |
public Object | put(String name, Object value) Set a named value.
Parameters: name - The name associated with the value. Parameters: value - The value associated with the name. | public void | putAll(Map<? extends String, ? extends Object> toMerge) Adds all the mappings in a given Map to this BindingsParameters: toMerge - The Map to merge with this one. |
put | public Object put(String name, Object value)(Code) | | Set a named value.
Parameters: name - The name associated with the value. Parameters: value - The value associated with the name. The value previously associated with the given name.Returns null if no value was previously associated with the name. NullPointerException if the name is null. IllegalArgumentException if the name is empty String. |
putAll | public void putAll(Map<? extends String, ? extends Object> toMerge)(Code) | | Adds all the mappings in a given Map to this BindingsParameters: toMerge - The Map to merge with this one. NullPointerException if some key in the map is null. IllegalArgumentException if some key in the map is an empty String. |
|
|