toBeTopJavaer icon indicating copy to clipboard operation
toBeTopJavaer copied to clipboard

【纸质书勘误】第10章集合类代码与结果错误

Open Bienaore opened this issue 3 years ago • 0 comments

版次:2022年5月第1版 印次:2022年6月第2次印刷

问题1: 页码:157页 章节: 10.5为什么ArrayList的subList结果不能转换成ArrayList 2.视图有什么问题 1)非结构性改变subList

其中代码为: ... System.out.println("subList.set(1,666) 得到List:"); ... 结果为: subList.set(3,666) 得到List:

问题2: 页码:188页 章节: 10.16HashMap的hash()方法 “下面通过具体的示例来详细解析,如图10-13所示。“下方 10 & 8 = 2 , 10 & 7 = 2

这里原意应该是: 10 % 8 = 2 ,10 & 7 = 2 吧?

Bienaore avatar Aug 01 '22 12:08 Bienaore