Fr. 52.90

Java Closures and Lambda

English · Paperback / Softback

Shipping usually within 1 to 2 weeks (title will be printed to order)

Description

Read more

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

List of contents


Chapter 1: Java 8: It's a Whole New Java

Chapter 2: Understanding Lambdas in Java 8

Chapter 3: Lambda's Domain: Collections and Streams

Chapter 4: File I/O with Lambdas

Chapter 5: Data Access with Lambdas

Chapter 6: Lambda Concurrency

Chapter 7: Legacy to Lambdas

Chapter 8: Lambdas in Java ByteCode

Appendix A: Contrasting Paradigms

About the author

John Zukowski is a well-known figure in the Java community. He is a popular columnist for JavaWorld magazine and a member of the JavaWorld Senior Advisory Board. Zukowski provides significant content for Sun's Java Developer Connection, and is the guide for Java at About.com. In addition, he is the content director of jGuru.com, an online Java developer community.

Summary

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

Product details

Authors Robert Fischer, John Zukowski
Publisher Springer, Berlin
 
Languages English
Product format Paperback / Softback
Released 18.03.2015
 
EAN 9781430259985
ISBN 978-1-4302-5998-5
No. of pages 220
Dimensions 178 mm x 12 mm x 256 mm
Weight 417 g
Illustrations XII, 220 p. 9 illus.
Subject Natural sciences, medicine, IT, technology > IT, data processing > Programming languages

Customer reviews

No reviews have been written for this item yet. Write the first review and be helpful to other users when they decide on a purchase.

Write a review

Thumbs up or thumbs down? Write your own review.

For messages to CeDe.ch please use the contact form.

The input fields marked * are obligatory

By submitting this form you agree to our data privacy statement.