Java 8 in Action
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已掌握 Java 语法、想系统学习 Lambda 与 Stream 的初中级开发者
- 维护 Java 8 项目、需要重构旧代码的工程人员
- 准备技术面试、需覆盖 Java 8 新特性的求职者
- 对函数式编程感兴趣、希望从 Java 角度入门的程序员
Not a good fit for
- 完全没有 Java 基础、尚未学过面向对象的零基础读者
- 只想找框架速查手册、不打算系统阅读的人
- 只使用 Java 11 及以上版本、想专攻新特性的读者(可读续作)
Reading tips
- 先按顺序读第 1—3 章,把行为参数化到 Lambda 的思路走通,后面会顺畅很多。
- 第 4—6 章的示例建议亲手敲一遍,边改写集合操作边体会流的惰性与短路。
- 第 3 部分可按项目需要跳读,例如先攻 Optional 与日期时间 API,再回头补 CompletableFuture。
- 读完一章先做章末小测,再对照书末附录理解字节码层面的实现原理。
About the publisher
Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.
Contents
- Part 1 Fundamentals
- Chapter 1 Why Java 8 Matters
- Chapter 2 Passing Code Through Behavior Parameterization
- Chapter 3 Lambda Expressions
- Part 2 Functional-Style Data Processing
- Chapter 4 Introducing Streams
- Chapter 5 Working with Streams
- Chapter 6 Collecting Data with Streams
- Chapter 7 Parallel Data Processing and Performance
- Part 3 Efficient Java 8 Programming
- Chapter 8 Refactoring, Testing, and Debugging
- Chapter 9 Default Methods
- Chapter 10 Replacing null with Optional
- Chapter 11 CompletableFuture: Composable Asynchronous Programming
- Chapter 12 The New Date and Time API
- Part 4 Beyond Java 8
- Chapter 13 Functional Thinking
- Chapter 14 Techniques of Functional Programming
- Chapter 15 Blending Object-Oriented and Functional Programming: Java 8 vs. Scala
- Chapter 16 Conclusion and the Future of Java
- Appendix A Updates to Other Language Features
- Appendix B Updates to the Class Libraries
- Appendix C Performing Multiple Operations Concurrently on the Same Stream
- Appendix D Lambda Expressions and JVM Bytecode
FAQ
这本书和《Modern Java in Action》是什么关系?
没有 Java 基础,能直接读这本书吗?
书里的代码可以直接运行吗?
这本书适合当作面试复习资料吗?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.