Implemented as a map of LazyList values
LazyList
| Modifier and Type | Field and Description |
|---|---|
| pack-priv ConcurrentMap | |
| pack-priv Map |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public void | clear()
Implements java. |
| public boolean | containsKey(Object
key whose presence in this map is to be tested key)Implements java. true if this map contains a mapping for the specified
key.
|
| public boolean | containsValue(Object
value whose presence in this map is to be tested value)Implements java. true if this map maps one or more keys to the
specified value.
|
| public Set | entrySet()
Implements java. Set view of the mappings contained in this map.
|
| public boolean | equals(Object
object to be compared for equality with this map o)Overrides java. Implements java. |
| public Object | get(Object
the key whose associated value is to be returned name)Implements java. null if this map contains no mapping for the key.
|
| public String | |
| public Object | |
| public List | |
| public int | hashCode()
Overrides java. Implements java. |
| public boolean | |
| public Set | |
| public Object | Returns: The previous value or null.The entry key. name, Object The entry value. value)Implements java. |
| public void | |
| public Object | putIfAbsent(K
key with which the specified value is to be associated key, Object value to be associated with the specified key value)Implements java. |
| public Object | |
| public Object | |
| public Object | remove(Object
key whose mapping is to be removed from the map key)Implements java. |
| public boolean | remove(Object
key with which the specified value is associated key, Object value expected to be associated with the specified key value)Implements java. |
| public boolean | Returns: true if it was removed.The entry key. name, Object The entry value. value)Remove value. |
| public boolean | replace(K
key with which the specified value is associated key, Object value expected to be associated with the specified key oldValue, Object value to be associated with the specified key newValue)Implements java. |
| public Object | replace(K
key with which the specified value is associated key, Object value to be associated with the specified key value)Implements java. |
| public int | |
| public Map | |
| public Collection | values()
Implements java. Collection view of the values contained in this map.
|
| _cmap | back to summary |
|---|---|
| pack-priv ConcurrentMap<K, Object> _cmap | |
| _map | back to summary |
|---|---|
| pack-priv Map<K, Object> _map | |
| MultiMap | back to summary |
|---|---|
| public MultiMap() | |
| MultiMap | back to summary |
|---|---|
| public MultiMap(Map<K, V> map) | |
| MultiMap | back to summary |
|---|---|
| public MultiMap(int capacity) | |
| MultiMap | back to summary |
|---|---|
| public MultiMap(boolean concurrent) | |
| add | back to summary |
|---|---|
| public void add(K name, Object value) Add value to multi valued entry. If the entry is single valued, it is converted to the first value of a multi valued entry.
| |
| addValues | back to summary |
|---|---|
| public void addValues(K name, List<E> values) Add values to multi valued entry. If the entry is single valued, it is converted to the first value of a multi valued entry.
| |
| addValues | back to summary |
|---|---|
| public void addValues(K name, String[] values) Add values to multi valued entry. If the entry is single valued, it is converted to the first value of a multi valued entry.
| |
| 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 java. Doc from java. 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 | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Implements java. Doc from java. Compares the specified object with this map for equality. Returns
| |
| get | back to summary |
|---|---|
| public Object get(Object name) 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
| |
| getString | back to summary |
|---|---|
| public String getString(Object name) Get value as String. Single valued items are converted to a String with the toString() Object method. Multi valued entries are converted to a comma separated List. No quoting of commas within values is performed. | |
| getValue | back to summary |
|---|---|
| public Object getValue(Object name, int i) Get a value from a multiple value. If the value is not a multivalue, then index 0 retrieves the value or null. | |
| getValues | back to summary |
|---|---|
| public List Get multiple values. Single valued entries are converted to singleton lists. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Implements java. Doc from java. Returns the hash code value for this map. The hash code of a map is
defined to be the sum of the hash codes of each entry in the map's
| |
| 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(K name, Object value) Implements java. Put and entry into the map. | |
| putAll | back to summary |
|---|---|
| public void putAll(Map<K, V> m) Implements java. Put all contents of map.
| |
| putIfAbsent | back to summary |
|---|---|
| public Object putIfAbsent(K key, Object value) Implements java. Doc from java. If the specified key is not already associated
with a value, associates it with the given value.
This is equivalent to, for this
except that the action is performed atomically.
| |
| putValues | back to summary |
|---|---|
| public Object putValues(K name, List<E> values) Put multi valued entry. | |
| putValues | back to summary |
|---|---|
| public Object putValues(K name, String[] values) Put multi valued entry. | |
| remove | back to summary |
|---|---|
| public Object remove(Object key) 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. | |
| remove | back to summary |
|---|---|
| public boolean remove(Object key, Object value) Implements java. Doc from java. Removes the entry for a key only if currently mapped to a given value.
This is equivalent to, for this
except that the action is performed atomically.
| |
| removeValue | back to summary |
|---|---|
| public boolean removeValue(K name, Object value) Remove value.
| |
| replace | back to summary |
|---|---|
| public boolean replace(K key, Object oldValue, Object newValue) Implements java. Doc from java. Replaces the entry for a key only if currently mapped to a given value.
This is equivalent to, for this
except that the action is performed atomically.
| |
| replace | back to summary |
|---|---|
| public Object replace(K key, Object value) Implements java. Doc from java. Replaces the entry for a key only if currently mapped to some value.
This is equivalent to, for this
except that the action is performed atomically.
| |
| 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
| |
| toStringArrayMap | back to summary |
|---|---|
public Map
| |
| values | back to summary |
|---|---|
| public Collection Implements java. Doc from java. Returns a
| |