Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Bienaore opened this issue Aug 1, 2022 · 0 comments
Open

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

Bienaore opened this issue Aug 1, 2022 · 0 comments

Comments

@Bienaore
Copy link

Bienaore commented Aug 1, 2022

版次: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
吧?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant