Package org.silverpeas.core.util
Class MapUtil
- java.lang.Object
-
- org.silverpeas.core.util.MapUtil
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <K,V>
booleanareEqual(Map<? extends K,? extends V> left, Map<? extends K,? extends V> right)
static <K,V>
Collection<V>putAdd(Supplier<? extends Collection<V>> factory, Map<K,Collection<V>> map, K key, V value)
static <K,V>
Collection<V>putAddAll(Supplier<? extends Collection<V>> factory, Map<K,Collection<V>> map, K key, Collection<V> values)
static <K,V>
List<V>putAddAllList(Supplier<? extends List<V>> factory, Map<K,List<V>> map, K key, Collection<V> values)
static <K,V>
List<V>putAddAllList(Map<K,List<V>> map, K key, Collection<V> values)
static <K,V>
Set<V>putAddAllSet(Supplier<? extends Set<V>> factory, Map<K,Set<V>> map, K key, Collection<V> values)
static <K,V>
Set<V>putAddAllSet(Map<K,Set<V>> map, K key, Collection<V> values)
static <K,V>
List<V>putAddList(Supplier<? extends List<V>> factory, Map<K,List<V>> map, K key, V value)
static <K,V>
List<V>putAddList(Map<K,List<V>> map, K key, V value)
static <K,V>
Set<V>putAddSet(Supplier<? extends Set<V>> factory, Map<K,Set<V>> map, K key, V value)
static <K,V>
Set<V>putAddSet(Map<K,Set<V>> map, K key, V value)
static <K,V>
List<V>removeValueList(Map<K,List<V>> map, K key, V value)
static <K,V>
Set<V>removeValueSet(Map<K,Set<V>> map, K key, V value)
-
-
-
Method Detail
-
putAddAll
public static <K,V> Collection<V> putAddAll(Supplier<? extends Collection<V>> factory, Map<K,Collection<V>> map, K key, Collection<V> values)
-
putAdd
public static <K,V> Collection<V> putAdd(Supplier<? extends Collection<V>> factory, Map<K,Collection<V>> map, K key, V value)
-
putAddAllList
public static <K,V> List<V> putAddAllList(Map<K,List<V>> map, K key, Collection<V> values)
-
putAddAllSet
public static <K,V> Set<V> putAddAllSet(Map<K,Set<V>> map, K key, Collection<V> values)
-
putAddAllList
public static <K,V> List<V> putAddAllList(Supplier<? extends List<V>> factory, Map<K,List<V>> map, K key, Collection<V> values)
-
putAddList
public static <K,V> List<V> putAddList(Supplier<? extends List<V>> factory, Map<K,List<V>> map, K key, V value)
-
putAddAllSet
public static <K,V> Set<V> putAddAllSet(Supplier<? extends Set<V>> factory, Map<K,Set<V>> map, K key, Collection<V> values)
-
putAddSet
public static <K,V> Set<V> putAddSet(Supplier<? extends Set<V>> factory, Map<K,Set<V>> map, K key, V value)
-
-