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