This is the base Map for all Map instances required by @{link ExternalContext}.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv abstract static class | |
| pack-priv abstract static class | |
| pack-priv static class | |
| pack-priv class | |
| pack-priv class | |
| pack-priv class | |
| pack-priv class | |
| pack-priv class | |
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private Set | |
| private Set | |
| private Collection |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear()
Overrides java. Implements java. Removes all of the mappings from this map (optional operation). |
| public Set | entrySet()
Implements abstract java. Implements java. Returns a |
| protected abstract Iterator | |
| protected abstract Iterator | |
| protected abstract Iterator | |
| public Set | keySet()
Overrides java. Implements java. Returns a |
| public void | putAll(Map<K, V>
mappings to be stored in this map t)Overrides java. Implements java. Copies all of the mappings from the specified map to this map (optional operation). |
| public V | remove(Object
key whose mapping is to be removed from the map key)Overrides java. Implements java. Removes the mapping for a key from this map if it is present (optional operation). |
| protected boolean | |
| protected boolean | |
| public Collection | values()
Overrides java. Implements java. Returns a |
| entrySet | back to summary |
|---|---|
| private Set<Map. | |
| keySet | back to summary |
|---|---|
| private Set<String> keySet Hides java. | |
| values | back to summary |
|---|---|
| private Collection<V> values Hides java. | |
| BaseContextMap | back to summary |
|---|---|
| pack-priv BaseContextMap() | |
| clear | back to summary |
|---|---|
| public 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.
| |
| entrySet | back to summary |
|---|---|
| public Set Implements abstract java. Implements java. Doc from java. Returns a | |
| getEntryIterator | back to summary |
|---|---|
| protected abstract Iterator | |
| getKeyIterator | back to summary |
|---|---|
| protected abstract Iterator | |
| getValueIterator | back to summary |
|---|---|
| protected abstract Iterator | |
| keySet | back to summary |
|---|---|
| public Set Overrides java. Implements java. Doc from java. Returns a
| |
| putAll | back to summary |
|---|---|
| public void putAll(Map<K, V> t) Overrides java. Implements java. Doc from java. Copies all of the mappings from the specified map to this map
(optional operation). The effect of this call is equivalent to that
of calling
| |
| remove | back to summary |
|---|---|
| public V 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.
| |
| removeKey | back to summary |
|---|---|
| protected boolean removeKey(Object key) | |
| removeValue | back to summary |
|---|---|
| protected boolean removeValue(Object value) | |
| values | back to summary |
|---|---|
| public Collection Overrides java. Implements java. Doc from java. Returns a
| |
| Modifier and Type | Field and Description |
|---|---|
| protected String | |
| protected Enumeration | |
| protected boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public String |
| currentKey | back to summary |
|---|---|
| protected String currentKey | |
| e | back to summary |
|---|---|
| protected Enumeration<E> e | |
| removeCalled | back to summary |
|---|---|
| protected boolean removeCalled | |
| BaseIterator | back to summary |
|---|---|
| pack-priv BaseIterator(Enumeration<E> e) | |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements java. Doc from java. Returns
| |
| nextKey | back to summary |
|---|---|
| public String nextKey() | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | size()
Implements abstract java. Implements java. Returns the number of elements in this set (its cardinality). |
| BaseSet | back to summary |
|---|---|
| pack-priv BaseSet() | |
| size | back to summary |
|---|---|
| public 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
| |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
object to be compared for equality with this map entry obj)Overrides java. Implements java. Compares the specified object with this entry for equality. |
| public String | |
| public V | |
| public int | hashCode()
Overrides java. Implements java. Returns the hash code value for this map entry. |
| public V | setValue(V
new value to be stored in this entry value)Implements java. Replaces the value corresponding to this entry with the specified value (optional operation). |
| Entry | back to summary |
|---|---|
| pack-priv Entry(String key, V value) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Implements java. Doc from java. Compares the specified object with this entry for equality.
Returns
(e1.getKey()==null ?
e2.getKey()==null : e1.getKey().equals(e2.getKey())) &&
(e1.getValue()==null ?
e2.getValue()==null : e1.getValue().equals(e2.getValue()))
This ensures that the equals method works properly across
different implementations of the Map.Entry interface.
| |
| getKey | back to summary |
|---|---|
| public String getKey() Implements java. Doc from java. Returns the key corresponding to this entry. | |
| getValue | back to summary |
|---|---|
| public V getValue() Implements java. Doc from java. Returns the value corresponding to this entry. If the mapping
has been removed from the backing map (by the iterator's
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements java. Doc from java. Returns the hash code value for this map entry. The hash code
of a map entry
(e.getKey()==null ? 0 : e.getKey().hashCode()) ^
(e.getValue()==null ? 0 : e.getValue().hashCode())
This ensures that e1.equals(e2) implies that
e1.hashCode()==e2.hashCode() for any two Entries
e1 and e2, as required by the general
contract of Object.hashCode.
| |
| setValue | back to summary |
|---|---|
| public V setValue(V value) Implements java. Doc from java. Replaces the value corresponding to this entry with the specified
value (optional operation). (Writes through to the map.) The
behavior of this call is undefined if the mapping has already been
removed from the map (by the iterator's
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Map. | |
| public void | remove()
Overrides default java. Removes from the underlying collection the last element returned by this iterator (optional operation). |
| EntryIterator | back to summary |
|---|---|
| pack-priv EntryIterator(Enumeration<E> e) | |
| next | back to summary |
|---|---|
| public Map. Implements java. Doc from java. Returns the next element in the iteration. | |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Iterator | iterator()
Implements abstract java. Implements java. Returns an iterator over the elements in this set. |
| public boolean | remove(Object
object to be removed from this set, if present o)Overrides java. Implements java. Removes the specified element from this set if it is present (optional operation). |
| EntrySet | back to summary |
|---|---|
| pack-priv EntrySet() | |
| iterator | back to summary |
|---|---|
| public 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). | |
| remove | back to summary |
|---|---|
| public boolean remove(Object o) Overrides java. Implements java. Doc from java. Removes the specified element from this set if it is present
(optional operation). More formally, removes an element | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public void | remove()
Overrides default java. Removes from the underlying collection the last element returned by this iterator (optional operation). |
| KeyIterator | back to summary |
|---|---|
| pack-priv KeyIterator(Enumeration<E> e) | |
| next | back to summary |
|---|---|
| public String next() Implements java. Doc from java. Returns the next element in the iteration. | |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | contains(Object
element whose presence in this set is to be tested o)Overrides java. Implements java. Returns |
| public Iterator | iterator()
Implements abstract java. Implements java. Returns an iterator over the elements in this set. |
| public boolean | remove(Object
object to be removed from this set, if present o)Overrides java. Implements java. Removes the specified element from this set if it is present (optional operation). |
| KeySet | back to summary |
|---|---|
| pack-priv KeySet() | |
| contains | back to summary |
|---|---|
| public boolean contains(Object o) Overrides java. Implements java. Doc from java. Returns | |
| iterator | back to summary |
|---|---|
| public 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). | |
| remove | back to summary |
|---|---|
| public boolean remove(Object o) Overrides java. Implements java. Doc from java. Removes the specified element from this set if it is present
(optional operation). More formally, removes an element | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Iterator | iterator()
Implements abstract java. Implements java. Returns an iterator over the elements contained in this collection. |
| public boolean | remove(Object
element to be removed from this collection, if present o)Overrides java. Implements java. Removes a single instance of the specified element from this collection, if it is present (optional operation). |
| public int | size()
Implements abstract java. Implements java. Returns the number of elements in this collection. |
| ValueCollection | back to summary |
|---|---|
| pack-priv ValueCollection() | |
| iterator | back to summary |
|---|---|
| public Iterator Implements abstract java. Implements java. Doc from java. Returns an iterator over the elements contained in this collection. | |
| remove | back to summary |
|---|---|
| public boolean remove(Object o) Overrides java. Implements java. Doc from java. Removes a single instance of the specified element from this
collection, if it is present (optional operation). More formally,
removes an element
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this collection. If this collection
contains more than
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public V | |
| public void | remove()
Overrides default java. Removes from the underlying collection the last element returned by this iterator (optional operation). |
| ValueIterator | back to summary |
|---|---|
| pack-priv ValueIterator(Enumeration<E> e) | |
| next | back to summary |
|---|---|
| public V next() Implements java. Doc from java. Returns the next element in the iteration.
| |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Doc from java. Removes from the underlying collection the last element returned
by this iterator (optional operation). This method can be called
only once per call to The behavior of an iterator is unspecified if the underlying collection is modified while the iteration is in progress in any way other than by calling this method, unless an overriding class has specified a concurrent modification policy.
The behavior of an iterator is unspecified if this method is called
after a call to the
| |