Java Closures and Lambda

· Apress
E-boek
220
Bladsye
Graderings en resensies word nie geverifieer nie. Kom meer te wete

Meer oor hierdie e-boek

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

Meer oor die skrywer

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.

Gradeer hierdie e-boek

Sê vir ons wat jy dink.

Lees inligting

Slimfone en tablette
Installeer die Google Play Boeke-app vir Android en iPad/iPhone. Dit sinkroniseer outomaties met jou rekening en maak dit vir jou moontlik om aanlyn of vanlyn te lees waar jy ook al is.
Skootrekenaars en rekenaars
Jy kan jou rekenaar se webblaaier gebruik om na oudioboeke wat jy op Google Play gekoop het, te luister.
E-lesers en ander toestelle
Om op e-inktoestelle soos Kobo-e-lesers te lees, moet jy ’n lêer aflaai en dit na jou toestel toe oordra. Volg die gedetailleerde hulpsentrumaanwysings om die lêers na ondersteunde e-lesers toe oor te dra.