![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
集合
文章平均质量分 84
新手程序员畅宇啸
这个作者很懒,什么都没留下…
展开
-
concurrentHshMap线程安全、性能
concurrentHshMap为什么是线程安全的1.concurrenthshmap跟hashmap比,为什么是线程安全的1.1.concurrentHashMap属性1.2.concurrentHshMap的put方法1.2.1.ConcurrentHashMap的put方法的主要流程2.为什么ConcurrentHashMap比HashTable高效 1.concurrenthshmap跟hashmap比,为什么是线程安全的 它使用Segment和HashEntry两个数组组成,加锁同步加存储K,V.原创 2021-01-26 17:53:37 · 173 阅读 · 0 评论 -
HashSet与HashMap底层实现
HashSet与HashMap底层实现1.HashSet底层是基于HashMap实现的2.HashMap的底层实现原理2.1HashMap的介绍2.2HashMap的底层是什么 1.HashSet底层是基于HashMap实现的 public class HashSet<E> extends AbstractSet<E> implements Set<E>, Cloneable, java.io.Serializable原创 2020-10-21 21:25:15 · 526 阅读 · 0 评论 -
集合复习
集合类学习1.什么是集合2.分类2.1.Collection集合2.1.1.List集合2.1.1.1.ArrayList2.1.1.2.LinkedList2.1.2.Set集合2.1.2.1.HashSet集合2.1.2.2.LinkedHashSet集合2.1.2.3.TreeSet集合2.2.Map集合2.2.1.HashTable集合2.2.2.HashMap集合2.2.3.LinkedHashMap集合2.2.4.TreeMap集合 1.什么是集合 一种存放对象的容器 2.分类 在Java中(u原创 2020-10-20 01:27:09 · 76 阅读 · 0 评论