Java Closures and Lambda

Authors: Fischer, Robert

Download source code Free Preview
  • Java Closures and Lambda explores lambda expressions and other new functionality in Java from Project Lambda. The new functionality makes enhancements to the programming model, smooths out rough edges in the language, preserves compatibility, all while maintaining the essence of the Java language as you’ve known it.

Buy this book

eBook 32,12 €
price for Italy (gross)
  • ISBN 978-1-4302-5999-2
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover 39,47 €
price for Italy (gross)
  • ISBN 978-1-4302-5998-5
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
About this book

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 very beginning.

  • 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

About the authors

Robert Fischer is a software developer, open source software contributor, technical commentator, and engineering manager. He has consulted, written, and spoken broadly on technical topics including concurrency, JVM bytecode, Groovy, Grails, and Gradle, and functional programming. Robert has a Masters of Divinity degree from Duke University, works as the VP of Engineering at Webonise Lab, and lives in Durham, North Carolina with his wife, dog, and baby girl.

Table of contents (9 chapters)

Table of contents (9 chapters)

Buy this book

eBook 32,12 €
price for Italy (gross)
  • ISBN 978-1-4302-5999-2
  • Digitally watermarked, DRM-free
  • Included format: EPUB, PDF
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover 39,47 €
price for Italy (gross)
  • ISBN 978-1-4302-5998-5
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
Java Closures and Lambda
Authors
Copyright
2015
Publisher
Apress
Copyright Holder
Robert Fischer
eBook ISBN
978-1-4302-5999-2
DOI
10.1007/978-1-4302-5999-2
Softcover ISBN
978-1-4302-5998-5
Edition Number
1
Number of Pages
XII, 220
Number of Illustrations
9 b/w illustrations
Topics