hashSet和ArrayList,hashMap()和hashTable()

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

                           HashMap                Hashtable

父类                  AbstractMap          Dictiionary

是否同步            否                            是

k,v可否null     是                            否

原文地址:https://www.cnblogs.com/zszitman/p/4576502.html