{"product_id":"9781430259992","title":"Java Closures and Lambda","description":"\u003cp\u003e\u003cem\u003eJava Closures and Lambda\u003c\/em\u003e 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. \u003c\/p\u003e\u003cp\u003eThe 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.\u003c\/p\u003e\u003cul\u003e\n\u003cli\u003eClearly explains the fantastic benefits resulting from Project Lambda \u003c\/li\u003e\n\u003cli\u003eExplains the syntax and IDE support for the new features \u003c\/li\u003e\n\u003cli\u003eShows how to streamline your code by bringing some of the benefits of functional programming to the Java language \u003c\/li\u003e\n\u003cli\u003eIllustrates parallelism in closures through Stream and Spliterator objects \u003c\/li\u003e\n\u003cli\u003eExplains API evolution by adding methods to existing interfaces without breaking existing interface implementations, a technique addressing potential multiple inheritance issues \u003c\/li\u003e\n\u003c\/ul\u003eWhat youll learn\u003cul\u003e\n\u003cli\u003eEncapsulate key bits of logic into anonymous functions without the need for anonymous classes \u003c\/li\u003e\n\u003cli\u003eDefine closures to be used as generators of comparison functions \u003c\/li\u003e\n\u003cli\u003eDefine map, filter, and reduce functions that are useful in working with lists and other collections \u003c\/li\u003e\n\u003cli\u003eTrap and handle exceptions involving lambdas and closures, including the passing of exception-type parameters \u003c\/li\u003e\n\u003cli\u003eAnticipate and provide for concurrency so that your code successfully scales across multiple CPU cores \u003c\/li\u003e\n\u003cli\u003eRefactor existing code to take advantage of newly-possible closures and lambda expressions \u003c\/li\u003e\n\u003c\/ul\u003eWho this book is for      \u003cp\u003e     This book is aimed at Java developers interested in keeping up with the latest developments in the language. The book is of particular interest to those wanting to produce shorter and more readable code by taking advantage of language enhancements coming out of Project Lambda.       \u003c\/p\u003e     Table of Contents\u003cstrong\u003e\u003c\/strong\u003e\u003cp\u003eChapter 1: Java 8: It’s a Whole New Java\u003c\/p\u003e\u003cp\u003eChapter 2: Understanding Lambdas in Java 8\u003c\/p\u003e\u003cp\u003eChapter 3: Lambda’s Domain: Collections and Streams\u003c\/p\u003e\u003cp\u003eChapter 4: File I\/O with Lambdas\u003c\/p\u003e\u003cp\u003eChapter 5: Data Access with Lambdas\u003c\/p\u003e\u003cp\u003eChapter 6: Lambda Concurrency\u003c\/p\u003e\u003cp\u003eChapter 7: Legacy to Lambdas\u003c\/p\u003e\u003cp\u003eChapter 8: Lambdas in Java ByteCode\u003cstrong\u003e\u003c\/strong\u003e\u003c\/p\u003e\u003cp\u003eAppendix A: Contrasting Paradigms\u003c\/p\u003e","brand":"Apress","offers":[{"title":"Default Title","offer_id":47123789742320,"sku":"9781430259992","price":39.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0737\/7593\/9824\/files\/9781430259992_p0.jpg?v=1763751964","url":"https:\/\/shop-qa.barnesandnoble.com\/products\/9781430259992","provider":"Barnes \u0026 Noble (DEV)","version":"1.0","type":"link"}