Learning Java Lambdas

id: 636127 not VIP Open in MaM

By Toby Weston

Language: English

Category: Ebook - Computer/Internet

Categories: Computer/Internet

Size: 1.2 MiB mobi Files: 1

Uploader: redeagle96

Uploaded At: 2020-06-28 22:45:17

Software Development, Beginner's Guides to Java Programming, Packt Publishing, Published March 31, 2017

Description

Key Features


Book Description
In this short book, we take an in-depth look at lambdas in Java, and their supporting features. The book covers essential topics, such as functional interfaces and type inference, and the key differences between lambdas and closures. You will learn about the background to functional programming and lambdas, before moving on to understanding the basic syntax of lambdas and what differentiates these anonymous functions from standard anonymous classes. Lastly, you'll learn how to invoke lambdas and look at the bytecode generated.

After reading this book, you'll understand lambdas in depth, their background, syntax, implementation details, and how and when to use them. You'll also have a clear knowledge of the difference between functions and classes, and why that's relevant to lambdas. This knowledge will enable you to appreciate the improvements to type inference that drive a lot of the new features in modern Java, and will increase your understanding of method references and scoping.

What you will learn

About the Author
Toby Weston specializes in modern software development; particularly, functional and object-oriented programming, agile and lean best practice. He wrote the book Essential Acceptance Testing, and he has written for magazines as well as does regularly blogging. He has been part of the software industry for more than fifteen years and loves what he does. He loves talking and writing about it and sharing his experiences online.

Table of Contents
  1. Introduction
  2. Lambdas Introduction
  3. Lambdas in Depth
  4. Bytecode

Other Torrents