摘要: HashMap、HashTable区别。 1、HashMap线程不安全,HashTable线程安全; 2、HashMap的键和值都允许null值存在,而HashTable不允许; 3、HashMap的效率高于Hashtable * Hash table based implementation of 阅读全文
posted @ 2018-07-18 21:52 沈建军 阅读(199) 评论(0) 推荐(0) 编辑