Java 8 in Action: Lambdas, Streams, and Functional-Style Programming

  • 6h 40m
  • Alan Mycroft, Mario Fusco, Raoul-Gabriel Urma
  • Manning Publications
  • 2015

Summary

Java 8 in Action is a clearly written guide to the new features of Java 8. The book covers lambdas, streams, and functional-style programming. With Java 8's functional features you can now write more concise code in less time, and also automatically benefit from multicore architectures. It's time to dig in!

About the Book

Every new version of Java is important, but Java 8 is a game changer. Java 8 in Action is a clearly written guide to the new features of Java 8. It begins with a practical introduction to lambdas, using real-world Java code. Next, it covers the new Streams API and shows how you can use it to make collection-based code radically easier to understand and maintain. It also explains other major Java 8 features including default methods, Optional, CompletableFuture, and the new Date and Time API.

This book is written for programmers familiar with Java and basic OO programming.

What's Inside

  • How to use Java 8's powerful new features
  • Writing effective multicore-ready applications
  • Refactoring, testing, and debugging
  • Adopting functional-style programming
  • Quizzes and quick-check questions

About the Authors

Raoul-Gabriel Urma is a software engineer, speaker, trainer, and PhD candidate at the University of Cambridge. Mario Fusco is an engineer at Red Hat and creator of the lambdaj library. Alan Mycroft is a professor at Cambridge and cofounder of the Raspberry Pi Foundation.

In this Book

  • About This Book
  • Java 8—Why Should You Care?
  • Passing Code with Behavior Parameterization
  • Lambda Expressions
  • Introducing Streams
  • Working with Streams
  • Collecting Data with Streams
  • Parallel Data Processing and Performance
  • Refactoring, Testing, and Debugging
  • Default Methods
  • Using Optional as a Better Alternative to Null
  • CompletableFuture—Composable Asynchronous Programming
  • New Date and Time API
  • Thinking Functionally
  • Functional Programming Techniques
  • Blending OOP and FP—Comparing Java 8 and Scala
  • Conclusions and Where Next for Java
SHOW MORE
FREE ACCESS

YOU MIGHT ALSO LIKE

Rating 4.5 of 60 users Rating 4.5 of 60 users (60)
Rating 4.5 of 526 users Rating 4.5 of 526 users (526)
Rating 4.8 of 10 users Rating 4.8 of 10 users (10)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE