static void replaceMap(Map dest, Map src) { if (dest == src) ret; dest.clear(); dest.putAll(src); }