Implemented as a map of LazyList values
LazyList
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | |
| public Object | clone()
Overrides java. HashMap instance: the keys and
values themselves are not cloned.
|
| public Object | get(Object
the key whose associated value is to be returned name)Overrides java. Implements java. null if this map contains no mapping for the key.
|
| public String | |
| public Object | |
| public List | |
| public Object | Returns: The previous value or null.The entry key. name, Object The entry value. value)Overrides java. Implements java. |
| public void | putAll(Map<K, V>
Map m)Overrides java. Implements java. |
| public Object | |
| public Object | |
| public boolean | Returns: true if it was removed.The entry key. name, Object The entry value. value)Remove value. |
| public Map |
| MultiMap | back to summary |
|---|---|
| public MultiMap() Constructor. | |
| MultiMap | back to summary |
|---|---|
| public MultiMap(int size) Constructor.
| |
| MultiMap | back to summary |
|---|---|
| public MultiMap(Map<K, V> map) Constructor. | |
| add | back to summary |
|---|---|
| public void add(Object 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(Object 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(Object 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. | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Doc from java. Returns a shallow copy of this
| |
| get | back to summary |
|---|---|
| public Object get(Object name) 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
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. | |
| put | back to summary |
|---|---|
| public Object put(Object name, Object value) Overrides java. Implements java. Put and entry into the map. | |
| putAll | back to summary |
|---|---|
| public void putAll(Map<K, V> m) Overrides java. Implements java. Put all contents of map.
| |
| putValues | back to summary |
|---|---|
| public Object putValues(Object name, List<E> values) Put multi valued entry. | |
| putValues | back to summary |
|---|---|
| public Object putValues(Object name, String[] values) Put multi valued entry. | |
| removeValue | back to summary |
|---|---|
| public boolean removeValue(Object name, Object value) Remove value. | |
| toStringArrayMap | back to summary |
|---|---|
public Map
| |