![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jdk
Deep_Breaths_Sky
这个作者很懒,什么都没留下…
展开
-
Java关键字transient和volatile小结
转载自:http://blog.csdn.net/flyingpig4/article/details/9233917转载 2016-01-25 11:44:21 · 246 阅读 · 0 评论 -
Throwable#initCause(Throwable) 方法
代码://首先有个变量caseprivate Throwable cause = this; public synchronized Throwable initCause(Throwable cause) { // 保证只能调用一次 if (this.cause != this) throw new IllegalStateExceptio原创 2016-01-22 17:31:51 · 1255 阅读 · 0 评论 -
HashMap实现原理分析
转载自: http://blog.csdn.net/vking_wang/article/details/14166593目录(?)[-]HashMap的数据结构 数组链表哈希表HashMap的存取实现1put2get3null key的存取4确定数组indexhashcode tablelength取模5table初始大小转载 2016-01-25 11:51:23 · 272 阅读 · 0 评论 -
存取之美——HashMap原理与实践
转载自: http://www.nowamagic.net/librarys/veda/detail/1202HashMap是一种十分常用的数据结构,作为一个应用开发人员,对其原理、实现的加深理解有助于更高效地进行数据存取。本文所用的jdk版本为1.5。使用HashMap《Effective JAVA》中认为,99%的情况下,当你覆盖了equals方法后,请务必覆盖hash转载 2016-01-25 14:36:43 · 235 阅读 · 0 评论