摘要: 1,hashmap,hashtable,ConcurrentHashMap 考问点1,hashmap的数据结构,其数据结构为数组+链表,把key进过hash算法得到hashcode, 然后hashcode%数组大小,得到数组相应的位置然后存放, 不同的key进过hash和取模可能会得到相同的数组位置 阅读全文
posted @ 2019-04-27 10:57 小凯哥86 阅读(205) 评论(0) 推荐(0)