Map implementation for use with Scope#data().
| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Set | |
| pack-priv Map | |
| pack-priv final EnumMap | |
| pack-priv final EnumSet |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final void | clear()
Overrides java. Implements java. |
| public final boolean | containsKey(Object
key whose presence in this map is to be tested key)Overrides java. Implements java. true if this map contains a mapping for the specified
key.
|
| public final boolean | containsValue(Object
value whose presence in this map is to be tested value)Overrides java. Implements java. true if this map maps one or more keys to the
specified value.
|
| private final Map | |
| public final Set | entrySet()
Implements abstract java. Implements java. Set view of the mappings contained in this map.
|
| private final Map | |
| public final Object | get(Object
the key whose associated value is to be returned key)Overrides java. Implements java. null if this map contains no mapping for the key.
|
| private final Map | |
| public final boolean | isEmpty()
Overrides java. Implements java. true if this map contains no key-value mappings.
|
| public final Object | put(Object
key with which the specified value is to be associated key, Object value to be associated with the specified key value)Overrides java. Implements java. |
| public final Object | remove(Object
key whose mapping is to be removed from the map key)Overrides java. Implements java. |
| public final int | size()
Overrides java. Implements java. |
| entrySet | back to summary |
|---|---|
| pack-priv final Set<Map. | |
| externalMap | back to summary |
|---|---|
| pack-priv Map<Object, Object> externalMap | |
| internalMap | back to summary |
|---|---|
| pack-priv final EnumMap<Tools. | |
| internalSet | back to summary |
|---|---|
| pack-priv final EnumSet<Tools. | |
| DataMap | back to summary |
|---|---|
| pack-priv DataMap() | |
| clear | back to summary |
|---|---|
| public final void clear() Overrides java. 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 final boolean containsKey(Object key) Overrides java. Implements java. Doc from java. Returns
| |
| containsValue | back to summary |
|---|---|
| public final boolean containsValue(Object value) Overrides java. Implements java. Doc from java. Returns
| |
| delegate | back to summary |
|---|---|
private final Map
| |
| entrySet | back to summary |
|---|---|
| public final Set Implements abstract java. Implements java. Doc from java. Returns a | |
| external | back to summary |
|---|---|
| private final Map | |
| get | back to summary |
|---|---|
| public final Object get(Object key) Overrides java. Implements java. Doc from java. Returns the value to which the specified key is mapped,
or More formally, if this map contains a mapping from a key
If this map permits null values, then a return value of
| |
| internalMap | back to summary |
|---|---|
private final Map
| |
| isEmpty | back to summary |
|---|---|
| public final boolean isEmpty() Overrides java. Implements java. Doc from java. Returns
| |
| put | back to summary |
|---|---|
| public final Object put(Object key, Object value) Overrides java. Implements java. Doc from java. Associates the specified value with the specified key in this map
(optional operation). If the map previously contained a mapping for
the key, the old value is replaced by the specified value. (A map
| |
| remove | back to summary |
|---|---|
| public final Object remove(Object key) Overrides java. Implements java. Doc from java. Removes the mapping for a 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 this map previously associated the key,
or If this map permits null values, then a return value of
The map will not contain a mapping for the specified key once the call returns.
| |
| size | back to summary |
|---|---|
| public final int size() Overrides java. Implements java. Doc from java. Returns the number of key-value mappings in this map. If the
map contains more than
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public final Iterator | iterator()
Implements abstract java. Implements java. |
| public final int | size()
Implements abstract java. Implements java. |
| EntrySet | back to summary |
|---|---|
| private EntrySet() | |
| iterator | back to summary |
|---|---|
| public final Iterator Implements abstract java. Implements java. Doc from java. Returns an iterator over the elements in this set. The elements are returned in no particular order (unless this set is an instance of some class that provides a guarantee). | |
| size | back to summary |
|---|---|
| public final int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this set (its cardinality). If this
set contains more than
| |