Vi bøger
Levering: 1 - 2 hverdage

Java Closures and Lambda - Robert Fischer - Bog

Bag om Java Closures and Lambda

Java Closures and Lambda introduces you to significant new changes to the Java language coming out of what is termed Project Lambda. These new changes make their debut in Java 8, and their highlight is the long-awaited support for lambda expressions in the Java language. You'll learn to write lambda expressions and use them to create functional interfaces and default methods for evolving APIs, among many other uses. The changes in Java 8 are significant. Syntax and usage of the language are changed considerably with the introduction of closures and lambda expressions. This book takes you through these important changes from introduction to mastery. Through a set of clear examples, you'll learn to refactor existing code to take advantage of the new language features. You'll learn what those features can do for you, and when they are best applied. You'll learn to design and write new code having these important new features in mind from the verybeginning.Clearly explains the fantastic benefits resulting from Project Lambda Explains the syntax and IDE support for the new features Shows how to streamline your code by bringing some of the benefits of functional programming to the Java language Illustrates parallelism in closures through Stream and Spliterator objects Explains API evolution by adding methods to existing interfaces without breaking existing interface implementations, a technique addressing potential multiple inheritance issues

Vis mere
  • Sprog:
  • Engelsk
  • ISBN:
  • 9781430259985
  • Indbinding:
  • Paperback
  • Sideantal:
  • 220
  • Udgivet:
  • 3. Marts 2015
  • Udgave:
  • 1
  • Størrelse:
  • 257x182x16 mm.
  • Vægt:
  • 430 g.
  • 8-11 hverdage.
  • 16. Oktober 2024

Normalpris

Medlemspris

Prøv i 30 dage for 45 kr.
Herefter fra 79 kr./md. Ingen binding.

Beskrivelse af Java Closures and Lambda

Java Closures and Lambda introduces you to significant new changes to the Java language coming out of what is termed Project Lambda. These new changes make their debut in Java 8, and their highlight is the long-awaited support for lambda expressions in the Java language. You'll learn to write lambda expressions and use them to create functional interfaces and default methods for evolving APIs, among many other uses.
The changes in Java 8 are significant. Syntax and usage of the language are changed considerably with the introduction of closures and lambda expressions. This book takes you through these important changes from introduction to mastery. Through a set of clear examples, you'll learn to refactor existing code to take advantage of the new language features. You'll learn what those features can do for you, and when they are best applied. You'll learn to design and write new code having these important new features in mind from the verybeginning.Clearly explains the fantastic benefits resulting from Project Lambda
Explains the syntax and IDE support for the new features
Shows how to streamline your code by bringing some of the benefits of functional programming to the Java language
Illustrates parallelism in closures through Stream and Spliterator objects
Explains API evolution by adding methods to existing interfaces without breaking existing interface implementations, a technique addressing potential multiple inheritance issues

Brugerbedømmelser af Java Closures and Lambda



Find lignende bøger
Bogen Java Closures and Lambda findes i følgende kategorier:

Gør som tusindvis af andre bogelskere

Tilmeld dig nyhedsbrevet og få gode tilbud og inspiration til din næste læsning.