static bool syncPut_trueIfChanged(Map map, A key, A value) { if (map == null) false; synchronized(map) { ret eq(map.put(key, value), value); } }