Modern Java Recipes
Simple Solutions to Difficult Problems in Java 8 and 9
Seiten
2017
O'Reilly Media (Verlag)
978-1-4919-7317-2 (ISBN)
O'Reilly Media (Verlag)
978-1-4919-7317-2 (ISBN)
The introduction of functional programming concepts in Java SE 8 was a drastic change for this venerable object-oriented language. Lambda expressions, method references, and streams fundamentally changed the idioms of the language, and many developers have been trying to catch up ever since. This cookbook will help. With more than 70 detailed recipes, author Ken Kousen shows you how to use the newest features of Java to solve a wide range of problems.
For developers comfortable with previous Java versions, this guide covers nearly all of Java SE 8, and includes a chapter focused on changes coming in Java 9. Need to understand how functional idioms will change the way you write code? This cookbook—chock full of use cases—is for you.
Recipes cover:
For developers comfortable with previous Java versions, this guide covers nearly all of Java SE 8, and includes a chapter focused on changes coming in Java 9. Need to understand how functional idioms will change the way you write code? This cookbook—chock full of use cases—is for you.
Recipes cover:
- The basics of lambda expressions and method references
- Interfaces in the java.util.function package
- Stream operations for transforming and filtering data
- Comparators and Collectors for sorting and converting streaming data
- Combining lambdas, method references, and streams
- Creating instances and extract values from Java’s Optional type
- New I/O capabilities that support functional streams
- The Date-Time API that replaces the legacy Date and Calendar classes
- Mechanisms for experimenting with concurrency and parallelism
Ken Kousen is an independent consultant and trainer specializing in Spring, Hibernate, Groovy, and Grails. He holds numerous technical certifications, along with degrees in Mathematics, Mechanical and Aerospace Engineering, and Computer Science.
Chapter 1 The Basics
Chapter 2 The java.util.function Package
Chapter 3 Functional Programming in Java 8
Chapter 4 Streams
Chapter 5 Comparators and Collectors
Chapter 6 The Optional Type
Chapter 7 File I/O
Chapter 8 The java.time package
Chapter 9 Miscellaneous
Chapter 10 Java 9 Additions
Appendix A Generics and Java 8
Erscheinungsdatum | 05.09.2017 |
---|---|
Verlagsort | Sebastopol |
Sprache | englisch |
Maße | 150 x 250 mm |
Gewicht | 666 g |
Einbandart | kartoniert |
Themenwelt | Informatik ► Programmiersprachen / -werkzeuge ► Java |
Informatik ► Software Entwicklung ► Objektorientierung | |
Schlagworte | Cookbook • Funktionales Programmieren • Java 8 • Java 9 (Programmiersprache) • Java SE • Rezepte |
ISBN-10 | 1-4919-7317-X / 149197317X |
ISBN-13 | 978-1-4919-7317-2 / 9781491973172 |
Zustand | Neuware |
Haben Sie eine Frage zum Produkt? |
Mehr entdecken
aus dem Bereich
aus dem Bereich
mit über 150 Workouts in Java und Python
Buch (2023)
Carl Hanser (Verlag)
CHF 41,95
Einführung, Ausbildung, Praxis
Buch | Hardcover (2023)
Rheinwerk (Verlag)
CHF 69,85