摘要: hashMap数据结构图: HashMap特点: 允许多条记录的值为null; 非线程安全,任意时刻多线程操作hashmap,有可能导致数据不一致,可以通过Collections的synchronizedMap来实现Map的线程安全或者使用concurrentHashMap。 HashMap是链表+ 阅读全文
posted @ 2017-09-13 21:26 西北野狼 阅读(678) 评论(0) 推荐(0) 编辑