API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.script. SimpleBindings View Source
Author(s)
Mike Grogan
Since
1.6
Version
1.0
Serial
Hierarchy
 Object
      SimpleBindings
Implements
 Bindings
Subclasses
Description
public class SimpleBindings
  A simple implementation of Bindings backed by a HashMap or some other specified Map.
See also:   
Constructors
public SimpleBindings ()
Default constructor uses a HashMap.
public SimpleBindings (Map<String, Object> m)
  Constructor uses an existing Map to store the values.
Methods
Hide/Show inherited methods
public void clear ()
  Removes all of the mappings from this map (optional operation).
public boolean containsKey (Object key) [Specified in Bindings]
  Returns true if this map contains a mapping for the specified key.
public boolean containsValue (Object value)
  Returns true if this map maps one or more keys to the specified value.
public Set<Entry<String, Object>> entrySet ()
  Returns a Set view of the mappings contained in this map.
public Object get (Object key) [Specified in Bindings]
  Returns the value to which this map maps the specified key.
public boolean isEmpty ()
Returns true if this map contains no key-value mappings.
public Set<String> keySet ()
  Returns a Set view of the keys contained in this map.
public Object put (String name, Object value) [Specified in Bindings]
  Sets the specified key/value in the underlying map field.
public void putAll (Map<String, Object> toMerge) [Specified in Bindings]
  putAll is implemented using Map.putAll.
public Object remove (Object key) [Specified in Bindings]
  Removes the mapping for this key from this map if it is present (optional operation).
public int size ()
  Returns the number of key-value mappings in this map.
public Collection<Object> values ()
  Returns a Collection view of the values contained in this map.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar