public static void main(String[] args) {
Map<String, Object> m1 = new HashMap<String, Object>();
Map<String, Object> m2 = new HashMap<String, Object>();
m1.put("name", "aaa");
m1.put("a", 1);
m1.put("b", 2);
m1.put("c", 3);
m2.put("name", "bbb");
m2.put("x", 11);
m2.put("y", 22);
m2.put("z", 33);
m1.putAll(m2);
System.out.println(m1);
}
{a=1, b=2, c=3, name=bbb, x=11, y=22, z=33}