![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
wg981796804
这个作者很懒,什么都没留下…
展开
-
覆盖了父类的成员变量引发的问题
this代表什么呢?代表当前类的某个对象?请看下面这段代码: package cn.com.wg.task01; public class CallOrder { class Base { private int i = 2; public Base() { System.out.println(this); ...2015-06-23 18:14:40 · 138 阅读 · 0 评论 -
HashMap的逻辑
在Map中key-value组合成Map.Entry对象存放,所有的Entry存放在数组table中 /** * The table, resized as necessary. Length MUST Always be a power of two. */ transient Entry<K,V>[] table = (Entry<K,V>[]) EMP...2015-06-23 18:24:53 · 115 阅读 · 0 评论