List of utility methods to do Map Copy
HashMap | deepCopy(Map deep Copy HashMap<String, Map<String, String>> map = new HashMap<String, Map<String, String>>(); for (final Map.Entry<String, Map<String, String>> entry : context.entrySet()) { map.put(entry.getKey(), new HashMap<String, String>(entry.getValue())); return map; |
Map | deepCopyMap(Map map) deep Copy Map return new HashMap(map); |