Mastering Lambdas: Java Programming in a Multicore World
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已掌握Java基本语法与集合 API、准备系统学习 Java 8 新特性的开发者
- 需要在项目中用 Stream 重构遗留循环代码、并关心性能的中级工程师
- 对并行流、Fork/Join 与 Spliterator 实现机制感兴趣的读者
- 想补上课本里讲得不细的函数式接口与默认方法知识的 Java 程序员
Not a good fit for
- 完全零基础、尚未掌握类、接口与泛型的编程新手
- 只想找一本 Java 入门教材、期望学习变量与面向对象基础的读者
- 寻找 Java 17/21 新语法(record、模式匹配)系统讲解的读者
Reading tips
- 先读完第1章"为何需要 lambda"与第2章语法,再进入流的内容,避免只记住 API 而不理解设计动机。
- 每章示例务必自己敲一遍;流的具体行为(调试、求值时机)只有在运行时才能看清。
- 第6、7章涉及性能与基准测试,建议配合 JMH 亲自跑一遍,不要凭直觉判断并行快慢。
- 读完可与《Java 8 函数式编程》(Warburton)对读:后者重实践与设计模式,本书更重原理与规范细节。
About the publisher
Founded in 1980, Tsinghua University Press has 57 titles in our collection, covering popular science, medicine, health, law, philosophy and social sciences. Representative works include medical popular-science books such as Cancer Truth: Doctors Are Reading It Too and New Knowledge on Cancer by Bo Luo (Li Zhizhong), legal titles such as Sunshine Is the Best Preservative: Express Delivery of Major Global Anti-Corruption Cases, and works like Qi Ge's A Brief History of Philosophy with Big Ideas and Liu Yunhao's From the Internet to a New Industrial Revolution. Its authors include science writers, medical researchers, the Renmin University of China anti-corruption master's class and university scholars, reflecting a publishing profile that balances academic seriousness with accessible reading. As public information is limited, this profile is based only on the titles in our collection.
Contents
- Chapter 1 Introduction
- Chapter 2 Lambda Expression Basics
- Chapter 3 Getting Started with Streams and Pipelines
- Chapter 4 Collections and Reduction
- Chapter 5 Creating Streams
- Chapter 6 Spliterators, the Fork/Join Framework, and Exceptions
- Chapter 7 Stream Performance and Default Methods
FAQ
这本书和《Java 8 函数式编程》是同一本吗?
书里的代码示例用的是哪个 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.