void (String[] args) { EntryIterationBug first = new EntryIterationBug(); first.map.put("x", 50.0); EntryIterationBug second = new EntryIterationBug(); second.map.put("x", 10.0); first.merge(second); System.out.println("Expect 60.0, result is: " + first.map.get("x")); }