Modern Java Recipes: Simple Solutions to Difficult Problems in Java 8 and 9
by Ken Kousen
Print Length 页数: 200 pages
Publisher finelybook 出版社: O’Reilly Media; 1 edition (August 25,2017)
Language 语言: English
ISBN-10: 149197317X
ISBN-13: 9781491973172
Book Description
Need simple solutions to specific challenges with Java 8 and Java 9? This book of practical recipes provides a quick,easy reference for developers who prefer useful examples over detailed explanations. Modern Java Recipes shows you how to solve a wide range of problems using the newest features of Java.
Learn functional programming with lambdas,method references,and streams
Adopt the new static and default methods in interfaces
Work with the new set of functional interfaces added to the language
Use collectors and comparators to search,filter,and sort data
Employ the new Optional type and use it correctly
Understand the new java.time package to handle Date and Time functionality,including time zone adjustments
Use the Java Read-Eval-Print-Loop in Java 9
Employ the new Jigsaw mechanism to modularize deployables
Contents
Preface
1. The Basics
2. The java. util. function Package
3. Streams
4. Comparators and Collectors
5. Issues with Streams,Lambdas,and Method References
6. The Optional Type
7. File /O
8. The java. time Package
9. Parallelism and Concurrency
10. Java 9 Additions
A. Generics and Java8
Index