HashMap or some other specified Map.
| Modifier and Type | Field and Description |
|---|---|
| private final Map | map
The |
| Access | Constructor and Description |
|---|---|
| public | SimpleBindings(Map<String, Object>
The m)Map backing this SimpleBindings.Constructor uses an existing |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public void | clear()
Implements java. Removes all of the mappings from this map (optional operation). |
| public boolean | Returns: true if this map contains a mapping for the specified
key.key whose presence in this map is to be tested. key)Implements javax. Returns |
| public boolean | containsValue(Object value)
Implements java. Returns |
| public Set | entrySet()
Implements java. Returns a |
| public Object | Returns: the value to which this map maps the specified key, ornull if the map contains no mapping for this key.key whose associated value is to be returned. key)Implements javax. Returns the value to which this map maps the specified key. |
| public boolean | |
| public Set | |
| public Object | Returns: Previous value for the specified key. Returns null if key was previously unset.Name of value name, Object Value to set. value)Implements javax. Sets the specified key/value in the underlying |
| public void | putAll(Map<? extends String, ? extends Object>
The toMerge)Map of values to add.Implements javax.
|
| public Object | Returns: previous value associated with specified key, ornull
if there was no mapping for key.key whose mapping is to be removed from the map. key)Implements javax. Removes the mapping for this key from this map if it is present (optional operation). |
| public int | |
| public Collection | values()
Implements java. Returns a |
| map | back to summary |
|---|---|
| private final Map<String, Object> map The | |
| SimpleBindings | back to summary |
|---|---|
| public SimpleBindings(Map<String, Object> m) Constructor uses an existing
| |
| SimpleBindings | back to summary |
|---|---|
| public SimpleBindings() Default constructor uses a | |
| checkKey | back to summary |
|---|---|
| private void checkKey(Object key) | |
| clear | back to summary |
|---|---|
| public void clear() Implements java. Doc from java. Removes all of the mappings from this map (optional operation). The map will be empty after this call returns. | |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(Object key) Implements javax. Returns
| |
| containsValue | back to summary |
|---|---|
| public boolean containsValue(Object value) Implements java. Doc from java. Returns | |
| entrySet | back to summary |
|---|---|
| public Set Implements java. Doc from java. Returns a | |
| get | back to summary |
|---|---|
| public Object get(Object key) Implements javax. Returns the value to which this map maps the specified key. Returns
More formally, if this map contains a mapping from a key
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Implements java. Doc from java. Returns | |
| keySet | back to summary |
|---|---|
| public Set Implements java. Doc from java. Returns a | |
| put | back to summary |
|---|---|
| public Object put(String name, Object value) Implements javax. Sets the specified key/value in the underlying
| |
| putAll | back to summary |
|---|---|
| public void putAll(Map<? extends String, ? extends Object> toMerge) Implements javax.
| |
| remove | back to summary |
|---|---|
| public Object remove(Object key) Implements javax. Removes the mapping for this key from this map if it is present
(optional operation). More formally, if this map contains a mapping
from key Returns the value to which the map previously associated the key, or
| |
| size | back to summary |
|---|---|
| public int size() Implements java. Doc from java. Returns the number of key-value mappings in this map. If the
map contains more than | |
| values | back to summary |
|---|---|
| public Collection Implements java. Doc from java. Returns a | |