public class MapUtils extends Object
Constructor and Description |
---|
MapUtils() |
Modifier and Type | Method and Description |
---|---|
static Map |
copy(Map source)
Clones a map.
|
static Map |
merge(Map lhs,
Map rhs)
Clones the lhs map and add all things from the
rhs map.
|
static Map |
prefix(Map source,
String prefix)
Clones a map and prefixes the keys in the clone, e.g.
|
public static Map copy(Map source)
source
- the source mappublic static Map prefix(Map source, String prefix)
source
- the source mapprefix
- the prefix used for all namesCopyright © 2019 The Apache Software Foundation. All Rights Reserved.