Hashtable是同步的比较慢,而HashMap没有同步策略所以速度比较快。
Hashtable不允许有空值,HashMap可以有一个空值。
posted on 2017-05-26 23:52 辰_雨_ 阅读(78) 评论(0) 收藏 举报