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

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

5.0 1
by Raoul-Gabriel Urma, Mario Fusco, Alan Mycroft
     
 

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!

Purchase of the print book

Overview

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!

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

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.

Table of Contents

    PART 1 FUNDAMENTALS
  1. Java 8: why should you care?
  2. Passing code with behavior parameterization
  3. Lambda expressions
  4. PART 2 FUNCTIONAL-STYLE DATA PROCESSING
  5. Introducing streams
  6. Working with streams
  7. Collecting data with streams
  8. Parallel data processing and performancePART 3 EFFECTIVE JAVA 8 PROGRAMMING
  9. Refactoring, testing, and debugging
  10. Default methods
  11. Using Optional as a better alternative to null
  12. CompletableFuture: composable asynchronousprogramming
  13. New Date and Time API
  14. PART 4 BEYOND JAVA 8
  15. Thinking functionally
  16. Functional programming techniques
  17. Blending OOP and FP: comparing Java 8 and Scala
  18. Conclusions and where next for Java
  19. APPENDIXES
  20. Miscellaneous language updates
  21. Miscellaneous library updates
  22. Performing multiple operations in parallelon a stream
  23. Lambdas and JVM bytecode

Product Details

ISBN-13:
9781617291999
Publisher:
Manning Publications Company
Publication date:
08/31/2014
Pages:
424
Sales rank:
414,195
Product dimensions:
7.30(w) x 9.10(h) x 1.00(d)

Meet the Author

Raoul-Gabriel Urma has worked as a software engineer for Oracle's Java Platform Group, Google's Python team, Ebay, and Goldman Sachs as well as for several startup projects. He's currently completing a PhD in Computer Science at the University of Cambridge and is a regular speaker and instructor.

Mario Fusco is a senior software engineer at Red Hat working on Drools, the JBoss rule engine. He created the open source library lambdaj, an internal Java DSL for manipulating collections in a functional way.

Alan Mycroft is Professor of Computer Science at the University of Cambridge, where he researches programming languages, their semantics, optimization and implementation. He is a co-founder and Trustee of the Raspberry Pi Foundation.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >