HashMap实现多线程安全

来源:互联网 发布:mac文件夹无故消失 编辑:程序博客网 时间:2024/03/28 20:22
 Map m = Collections.synchronizedMap(new HashMap());