Part 3. Effective programming with streams and lambdas

The third part of this book explores various Java 8 and Java 9 topics that will make you more effective at using Java and enhance your codebase with modern idioms. Because it’s oriented toward more advanced programming ideas, nothing later in the book depends on the techniques described here.

Chapter 8 is a new chapter for the second edition and explores the Collection API enhancements of Java 8 and Java 9 and covers using collection factories and learning new idiomatic patterns to work with List and Set collections along with idiomatic patterns involving Map.

Chapter 9 explores how you can improve your existing code using new Java 8 features and a few recipes. In addition, it explores vital software development techniques such as design patterns, refactoring, testing, and debugging.

Chapter 10 is again new for the second edition. It explores the idea of basing an API on a domain-specific language (DSL). This is not only a powerful way of designing APIs but also one that is both becoming increasingly popular and already visible in Java, such as in the Comparator, Stream, and Collector interfaces.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset