- 博客(3)
- 问答 (3)
- 收藏
- 关注
原创 HashTable特点(jdk1.8)
简单写一写HashTable的特点~ 继承树 HashTable的继承树如下图: 特点 (1)底层使用Entry数组保存元素 (2)默认初始容量是11,加载因子是0.75。 /** * Constructs a new, empty hashtable with a default initial capacity (11) * and load factor (0...
2019-10-08 21:09:56 665
原创 LinkedHashMap特点(jdk1.8)
结束上篇的HashMap扩容分析,今天来聊聊LinkedHashMap的特点,继承了HashMap类(以下都是基于jdk1.8)。之前简单聊过LinkedHashSet的特点,它的底层实际就是使用的LinkedHashMap。 继承树 LinkedHashMap的继承树如下图: 特点 (1)由于继承HashMap类,所以默认初始容量是16,加载因子是0.75。accessOrder为fals...
2019-10-08 16:20:34 480
原创 深入理解HashMap扩容(JDK1.8)---源码分析
HashMap有自动扩容机制,那么它是如何扩容的?本篇带你跟着源码一步步走近。以下都是基于jdk1.8的。 Let's start 从HashMap的put方法入手,逐步深入: /** * Associates the specified value with the specified key in this map. * If the map previously co...
2019-10-07 19:54:42 1159 4
空空如也
BindingSource怎么和DataGridView结合使用?
2017-08-20
VS中的BindingSource怎么用,它和DataGridView有什么不同?
2017-08-20
操作手册和用户手册有什么区别?
2016-12-26
TA创建的收藏夹 TA关注的收藏夹
TA关注的人