Java in Action
Java in Action
Summary:
About the Book
"Java in Action" is a practical guide for developers who want to master modern Java features and learn to apply them in real-world projects. The book is aimed at programmers already familiar with the basics of the language but who wish to deepen their knowledge and move to the next level.
Who This Book Is For
This edition is suitable for Java developers with 1+ years of experience, senior university students in technical fields, as well as programmers transitioning from other languages (Python, C#, C++) to Java. The book will be useful for anyone who wants to understand not only the syntax but also the internal mechanics of the language.
What the Reader Will Learn
The reader will learn to effectively use lambda expressions and the Stream API, work with CompletableFuture for asynchronous programming, and master new collections and optional types. Special attention is given to functional programming in Java, design patterns in a modern context, and working with dates and time (Java Time API).
Chapter Contents
Chapters 1-3: Introduction to functional programming, lambda expressions, and method references.
Chapters 4-6: Stream API: filtering, mapping, reduction, parallel streams.
Chapters 7-9: Optional, CompletableFuture, new collections (Map, Set).
Chapters 10-12: Date and time, new features of the module system (Java 9+).
Chapters 13-14: Code refactoring using modern constructs, testing functional code.
Why You Should Read It
The book is written in a lively style with numerous code examples that can be immediately applied in practice. The author does not simply list new features but shows how they solve real problems: reducing the number of errors, improving code readability and performance. After reading, you will be able to write more concise and reliable Java code, leveraging all the advantages of versions 8-11.