|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.util.MapUtil
public class MapUtil
| Constructor Summary | |
|---|---|
MapUtil()
|
|
| Method Summary | ||
|---|---|---|
static
|
equals(Map<? extends K,? extends V> left,
Map<? extends K,? extends V> right)
|
|
static
|
putAdd(Class<? extends Collection> collectionClass,
Map<K,Collection<V>> map,
K key,
V value)
Centralizes the map adding that containing collections |
|
static
|
putAddAll(Class<? extends Collection> collectionClass,
Map<K,Collection<V>> map,
K key,
Collection<V> values)
Centralizes the map adding that containing collections |
|
static
|
putAddAllList(Class<? extends List> listClass,
Map<K,List<V>> map,
K key,
Collection<V> values)
Centralizes the map adding that containing list collections |
|
static
|
putAddAllList(Map<K,List<V>> map,
K key,
Collection<V> values)
Centralizes the map adding that containing list collections |
|
static
|
putAddAllSet(Class<? extends Set> setClass,
Map<K,Set<V>> map,
K key,
Collection<V> values)
Centralizes the map adding that containing list collections |
|
static
|
putAddAllSet(Map<K,Set<V>> map,
K key,
Collection<V> values)
Centralizes the map adding that containing list collections |
|
static
|
putAddList(Class<? extends List> listClass,
Map<K,List<V>> map,
K key,
V value)
Centralizes the map adding that containing list collections |
|
static
|
putAddList(Map<K,List<V>> map,
K key,
V value)
Centralizes the map adding that containing list collections |
|
static
|
putAddSet(Class<? extends Set> setClass,
Map<K,Set<V>> map,
K key,
V value)
Centralizes the map adding that containing set collections |
|
static
|
putAddSet(Map<K,Set<V>> map,
K key,
V value)
Centralizes the map adding that containing set collections |
|
static
|
removeValueList(Map<K,List<V>> map,
K key,
V value)
Centralizes the map removing that containing list collections |
|
static
|
removeValueSet(Map<K,Set<V>> map,
K key,
V value)
Centralizes the map removing that containing set collections |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapUtil()
| Method Detail |
|---|
public static <K,V> Collection<V> putAddAll(Class<? extends Collection> collectionClass,
Map<K,Collection<V>> map,
K key,
Collection<V> values)
K - V - map - key - values -
public static <K,V> Collection<V> putAdd(Class<? extends Collection> collectionClass,
Map<K,Collection<V>> map,
K key,
V value)
K - V - map - key - value -
public static <K,V> List<V> putAddAllList(Map<K,List<V>> map,
K key,
Collection<V> values)
K - V - map - key - values -
public static <K,V> List<V> putAddList(Map<K,List<V>> map,
K key,
V value)
K - V - map - key - value -
public static <K,V> Set<V> putAddAllSet(Map<K,Set<V>> map,
K key,
Collection<V> values)
K - V - map - key - values -
public static <K,V> Set<V> putAddSet(Map<K,Set<V>> map,
K key,
V value)
K - V - map - key - value -
public static <K,V> List<V> putAddAllList(Class<? extends List> listClass,
Map<K,List<V>> map,
K key,
Collection<V> values)
K - V - listClass - map - key - values -
public static <K,V> List<V> putAddList(Class<? extends List> listClass,
Map<K,List<V>> map,
K key,
V value)
K - V - listClass - map - key - value -
public static <K,V> Set<V> putAddAllSet(Class<? extends Set> setClass,
Map<K,Set<V>> map,
K key,
Collection<V> values)
K - V - setClass - map - key - values -
public static <K,V> Set<V> putAddSet(Class<? extends Set> setClass,
Map<K,Set<V>> map,
K key,
V value)
K - V - setClass - map - key - value -
public static <K,V> List<V> removeValueList(Map<K,List<V>> map,
K key,
V value)
K - V - map - key - value -
public static <K,V> Set<V> removeValueSet(Map<K,Set<V>> map,
K key,
V value)
K - V - map - key - value -
public static <K,V> boolean equals(Map<? extends K,? extends V> left,
Map<? extends K,? extends V> right)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||