Advertisement

Understanding Lambdas in Java 8

  • Robert Fischer
Chapter

Abstract

The core new functionality in Java 8 is the introduction of lambdas. However, most introductions will show a couple of examples of lambdas, and then they leave it to the developer to figure out the rest. If you are going to be developing modern Java programs, however, you are going to need to be well versed in how lambdas can be used. Throughout this chapter, we will dig into the particularities of the syntax and semantics of lambdas, including how to create more complex lambdas, how to work with method calls and lambdas, and what this all looks like under the hood. We will also look at some classic ways to manipulate lambdas, and how they are implemented within Java. By the end of this chapter, you should be fluent in how to create the lambdas that you want.

Keywords

Method Reference Type Inference Primitive Type Jigsaw Puzzle Instance Method 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Robert Fischer 2015

Authors and Affiliations

  • Robert Fischer
    • 1
  1. 1.NCUnited States

Personalised recommendations