HashMap 和 Hashtable区别

                         HashMap                Hashtable

父类                  AbstractMap          Dictiionary

是否同步            否                            是

k,v可否null     是                            否

 

猜你喜欢

转载自blog.csdn.net/xuan_xinya/article/details/16987681