public final class MapUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static <K> void |
add(Map<K,Object> map,
K key,
Object value)
Adds the value under the specified key in the map.
|
static Map |
deepMerge(Map dst,
Map src)
Deep merges two maps
|
public static Map deepMerge(Map dst, Map src)
dst - the map where elements will be merged intosrc - the map with the elements to mergepublic static <K> void add(Map<K,Object> map, K key, Object value)
map - the mapkey - the keyvalue - the value to addCopyright © 2020 CrafterCMS. All rights reserved.