Java Closures and Lambda

Specificaties
Paperback, 250 blz. | Engels
Apress | 2015e druk, 2015
ISBN13: 9781430259985
Rubricering
Apress 2015e druk, 2015 9781430259985
Verwachte levertijd ongeveer 9 werkdagen

Samenvatting

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

Specificaties

ISBN13:9781430259985
Taal:Engels
Bindwijze:paperback
Aantal pagina's:250
Uitgever:Apress
Druk:2015

Inhoudsopgave

<strong></strong><p>Chapter 1: Java 8: It&rsquo;s a Whole New Java</p><p>Chapter 2: Understanding Lambdas in Java 8</p><p>Chapter 3: Lambda&rsquo;s Domain: Collections and Streams</p><p>Chapter 4: File I/O with Lambdas</p><p>Chapter 5: Data Access with Lambdas</p><p>Chapter 6: Lambda Concurrency</p><p>Chapter 7: Legacy to Lambdas</p><p>Chapter 8: Lambdas in Java ByteCode<strong></strong></p><p>Appendix A: Contrasting Paradigms</p>

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        Java Closures and Lambda