Java 8 in Action
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已有Java基础语法、想系统补上Java 8新特性的初中级开发者
- 公司代码库仍在Java 8、需要重构遗留代码的工程师
- 准备面试中被频繁问及Lambda、Stream、Optional的程序员
- 想把命令式代码转向函数式风格的架构师与技术负责人
Not a good fit for
- 完全没有Java基础、连集合与接口都不熟悉的入门读者
- 只想学Java 17或更高版本最新特性的读者,可改看本书的更新版本
- 期待纯理论语言学研究而非工程实践的读者
Reading tips
- 建议边读边敲代码:把书中苹果筛选、交易员交易等例子亲手重构成Lambda与Stream版本
- 第一至三章务必读透,行为参数化是理解全书后续内容的基础
- 第三部分的第8章可对照自己的项目做一次小范围重构实践
- 第四部分可视兴趣选读,初读可先跳过Scala比较一章
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 Care About Java 8
- 1.1 Java Keeps Changing
- 1.2 Functions in Java
- 1.3 Streams
- 1.4 Default Methods
- 1.5 Other Good Ideas from Functional Programming
- 1.6 Summary
- Chapter 2 Passing Code Through Behavior Parameterization
- 2.1 Coping with Changing Requirements
- 2.2 Behavior Parameterization
- 2.3 Tackling Verbosity
- 2.4 Real-World Examples
- 2.5 Summary
- Chapter 3 Lambda Expressions
- 3.1 Lambdas in a Nutshell
- 3.2 Where and How to Use Lambdas
- 3.3 Putting Lambdas into Practice: The Execute-Around Pattern
- 3.4 Using Functional Interfaces
- 3.5 Type Checking, Type Inference, and Restrictions
- 3.6 Method References
- 3.7 Lambdas and Method References in Practice
- 3.8 Useful Methods for Composing Lambdas
- 3.9 Similar Ideas in Mathematics
- 3.10 Summary
- Part 2 Functional 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 Effective 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 Mixing Object-Oriented and Functional Programming: Java 8 vs. Scala
FAQ
这本书适合零基础学Java的人吗?
这本书讲的Java 8特性和新版JDK还通用吗?
豆瓣评分和页数是多少?
这本书和《Java实战(第2版)》是什么关系?
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.
About the author
Raoul-Gabriel Urma is a technical author in the field of computing, known to Chinese readers mainly through his books on Java programming. Publicly available information about him is limited, and his nationality, dates of birth and death, and personal background cannot be confirmed. Two of his works are included here, both centered on Java 8, with Java 8 in Action being the most representative; they fall under computing and programming design. His writing addresses practical development scenarios, focusing on turning new language features into actionable code practices. The explanations are clear and the examples concrete, making the material easy to understand and apply in everyday programming. Such works offer useful reference for Java learners and developers, and suit readers who want to grasp the core usage of Java 8 in a relatively short time.
Mario Fusco (Mario Fusco) is a technical author whose works are classified under computing and programming design. Publicly available information is currently limited, making it difficult to confirm his nationality, dates of birth and death, or personal history, so this introduction focuses on the two works held in the library. Both are titled Java 8 in Action and address the same subject: the practical application of Java 8, a version of the programming language. Judging by their subject matter, his writing is aimed at readers who wish to master Java 8's new features and apply them in real development, with an emphasis on practical, hands-on content rather than broad theoretical overviews. As far as the available material shows, these two works are the main basis for understanding his writing direction and have brought him a degree of attention among Chinese-language technical readers.
Alan Miccroft is an author who appears in the field of computer and programming design books. His nationality, dates of birth and death, and other personal background details are currently limited in publicly available sources and cannot be confirmed. According to the library's records, he has two works, both related to Java 8, with Java 8 in Action as his representative title. It can therefore be inferred that his writing focuses on the Java language and modern programming practice, aimed at developers who wish to master Java 8 features and practical techniques. Such technical books usually combine conceptual explanation with code examples and emphasize applying language features to real development scenarios, with a practical and step-by-step style. Although information about the author's own experience and identity is insufficient, his works offer Chinese readers a reference for learning about Java 8 within the computer and programming design category, and are suitable for readers with some foundation who wish to study or consult related technologies systematically.