hashSet和ArrayList,hashMap()和hashTable()

Set<Classes> cset = new HashSet<Classes>(cList);
  cList = new ArrayList<Classes>(cset);

 

                           HashMap                Hashtable

父类                  AbstractMap          Dictiionary

是否同步            否                            是

k,v可否null     是                            否

 

posted on 2015-06-15 10:33  zhaoshuzhan  阅读(195)  评论(0编辑  收藏  举报

导航