|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.javasoft.util.map.AbstractMultiValueMap<K,V>
ch.javasoft.util.map.AbstractMutableMultiValueMap<K,V>
public abstract class AbstractMutableMultiValueMap<K,V>
Abstract implementation for MultiValueMap for most common
methods for subclasses
| Constructor Summary | |
|---|---|
AbstractMutableMultiValueMap()
Constructor for an empty mapping |
|
AbstractMutableMultiValueMap(MultiValueMap<? extends K,? extends V> copy)
Constructor for a mapping based on an existing mapping to copy |
|
| Method Summary | |
|---|---|
boolean |
addAll(K key,
Collection<? extends V> values)
Adds the given values to the key collection |
boolean |
addAll(K key,
V... values)
Adds the given values to the key collection |
boolean |
addAll(Map<? extends K,? extends V> map)
Adds the key/value map entries of the given map to this key collection |
boolean |
addAll(MultiValueMap<? extends K,? extends V> mapping)
Adds the key/value-collection entries of the given mapping to this key collection |
boolean |
addAllNested(Map<? extends K,? extends Collection<? extends V>> map)
Adds the key/value-collection entries of the given map to this key collection |
| Methods inherited from class ch.javasoft.util.map.AbstractMultiValueMap |
|---|
add, asCollectionMap, asSingleValueMap, clear, contains, equals, getFirst, hashCode, invert, isEmpty, keySize, remove, remove, toString, values, valueSize |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface ch.javasoft.util.map.MultiValueMap |
|---|
contains, count, get, keySet |
| Constructor Detail |
|---|
public AbstractMutableMultiValueMap()
public AbstractMutableMultiValueMap(MultiValueMap<? extends K,? extends V> copy)
| Method Detail |
|---|
public boolean addAll(K key,
V... values)
addAll in interface MultiValueMap<K,V>addAll in class AbstractMultiValueMap<K,V>key - the key which identifies the value collectionvalues - the values to add
UnsupportedOperationException - if this is an immutable map
public boolean addAll(K key,
Collection<? extends V> values)
addAll in interface MultiValueMap<K,V>addAll in class AbstractMultiValueMap<K,V>key - the key which identifies the value collectionvalues - the values to add
UnsupportedOperationException - if this is an immutable mappublic boolean addAll(Map<? extends K,? extends V> map)
addAll in interface MultiValueMap<K,V>addAll in class AbstractMultiValueMap<K,V>map - the map containing key/value-collection entries to add
UnsupportedOperationException - if this is an immutable mappublic boolean addAllNested(Map<? extends K,? extends Collection<? extends V>> map)
addAllNested in interface MultiValueMap<K,V>addAllNested in class AbstractMultiValueMap<K,V>map - the map containing key/value-collection entries to add
UnsupportedOperationException - if this is an immutable mappublic boolean addAll(MultiValueMap<? extends K,? extends V> mapping)
addAll in interface MultiValueMap<K,V>addAll in class AbstractMultiValueMap<K,V>mapping - the mapping containing key/value-collection entries to add
UnsupportedOperationException - if this is an immutable map
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||