public class MinMapUtil extends Object
Modifier and Type | Method and Description |
---|---|
static <K,V> Map<K,V> |
put(Map<K,V> map,
K key,
V value)
Puts a mapping into a map, returns a map with the mapping.
|
static <K,V> Map<K,V> |
putAll(Map<K,V> dest,
Map<K,V> src)
Puts a number of entries into a map, returns a map.
|
static <K,V> Map<K,V> |
remove(Map<K,V> map,
K key)
Removes a mapping by key from a map, returns the map.
|
public static <K,V> Map<K,V> put(Map<K,V> map, K key, V value)
map
- destinationpublic static <K,V> Map<K,V> putAll(Map<K,V> dest, Map<K,V> src)
dest
- destination mapsrc
- source mapCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.