摘要: 首先,我们要知道set是利使用map是实现的,因为只要利用map中的key唯一性就行了。1.hashmap 和hashtable的区别是什么?我们可以背出: hashtable线程安全。hashmap不安全。 hashmap中key 和value可以为空,当然根据唯一性,只能有一个key为null;... 阅读全文
posted @ 2014-07-10 23:09 hansongjiang8 阅读(340) 评论(0) 推荐(0) 编辑