Free Downloads
Java 8 In Action: Lambdas, Streams, And Functional-style Programming

SummaryJava 8 in Action is a clearly written guide to the new features of Java 8. The book covers lambdas, streams, and functional-style programming. With Java 8's functional features you can now write more concise code in less time, and also automatically benefit from multicore architectures. It's time to dig in!Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.About the BookEvery new version of Java is important, but Java 8 is a game changer. Java 8 in Action is a clearly written guide to the new features of Java 8. It begins with a practical introduction to lambdas, using real-world Java code. Next, it covers the new Streams API and shows how you can use it to make collection-based code radically easier to understand and maintain. It also explains other major Java 8 features including default methods, Optional, CompletableFuture, and the new Date and Time API. This book is written for programmers familiar with Java and basic OO programming. What's InsideHow to use Java 8's powerful new featuresWriting effective multicore-ready applicationsRefactoring, testing, and debuggingAdopting functional-style programmingQuizzes and quick-check questionsAbout the AuthorsRaoul-Gabriel Urma is a software engineer, speaker, trainer, and PhD candidate at the University of Cambridge. Mario Fusco is an engineer at Red Hat and creator of the lambdaj library. Alan Mycroft is a professor at Cambridge and cofounder of the Raspberry Pi Foundation.Table of ContentsPART 1 FUNDAMENTALSJava 8: why should you care?Passing code with behavior parameterizationLambda expressionsPART 2 FUNCTIONAL-STYLE DATA PROCESSINGIntroducing streamsWorking with streamsCollecting data with streamsParallel data processing and performancePART 3 EFFECTIVE JAVA 8 PROGRAMMINGRefactoring, testing, and debuggingDefault methods Using Optional as a better alternative to null CompletableFuture: composable asynchronousprogrammingNew Date and Time APIPART 4 BEYOND JAVA 8Thinking functionallyFunctional programming techniquesBlending OOP and FP: comparing Java 8 and Scala Conclusions and where next for JavaAPPENDIXESMiscellaneous language updatesMiscellaneous library updatesPerforming multiple operations in parallelon a streamLambdas and JVM bytecode

Paperback: 424 pages

Publisher: Manning Publications; 1 edition (August 28, 2014)

Language: English

ISBN-10: 1617291994

ISBN-13: 978-1617291999

Product Dimensions: 1 x 7.2 x 9 inches

Shipping Weight: 1.6 pounds (View shipping rates and policies)

Average Customer Review: 4.7 out of 5 stars  See all reviews (71 customer reviews)

Best Sellers Rank: #72,117 in Books (See Top 100 in Books) #13 in Books > Computers & Technology > Web Development & Design > Web Services #32 in Books > Textbooks > Computer Science > Object-Oriented Software Design #33 in Books > Computers & Technology > Hardware & DIY > Design & Architecture

This is a concise and well-written introduction to Java 8.With a bevy of new features, Java 8 represents a sea change in how the language has started to move in the direction of functional programming (likely as a result of the competitive pressures exerted by other JVM languages such as Scala), and this book offers an interesting take on all of that, from soup to nuts.Here are some of the things I liked:Pro's* There are numerous quizzes that are generously sprinkled and interspersed throughout the text, which immediately follow the discussion of a given topic and help bolster your understanding of what you just read* Clear and concise explanations of the new features in Java 8, often with a good dose of background and context which help explain and illuminate the motivating concerns of the language designers for introducing such changes* Plenty of examples to help you sort out all the new features* Brief introduction and primer on functional programming and techniques (Chapters 13 and 14), as well as a comparison of Scala and Java, and the blending of OOP with the functional paradigm (Chapter 15). Given the new direction which we're now evolving with the release of Java 8, these are useful things to have in this edition* And with the bold statement of intent broadcast so clearly with the advent of Java 8, there is a brief look ahead at what will likely be in store for Java 9 and 10 in the near futureCon's* The book assumes more than just a passing familiarity with Java, and to really appreciate the true extent and degree of recent developments, you need to have worked with several earlier versions of Java (e.g.

This book is awesome like the Java 8 feature. Loved the book to the core, here are the reasons for it:1. Book starts with how to pass function in Java older versions and slowly build up on the talk ending up saying only thing we can do about this in older version is to apply strategy pattern, with the help of anonymous class2. Then author shows how Java 8 itself, made it easy to pass the function without creation of anonymous class, which means without creation of Objects! Arguing how Java 8 made functions as first class citizens.3. Then it clearly explains, whats the difference between Stream and collection, as its really important to understand.4. All chapter have sidebar quiz, which is exciting to solve :)5. Book also does the great job of explaining how we can create our own collectors, with Fork/Join framework.6. Since lambdas are new to our toolkit, author show cases how they can help us in creating design patterns. Along with the topic of how to debug lambdas if things goes wrong.7. Thinking functional way lesson, gives rock solid example for thinking in terms of functional programming. Author creates a LazyList to show, how functions can be stored and evaluated lazily when called!8. At the end of the book, they made a comparison of Java 8 with Scala. How to do features like Pattern matching (in Scala) in Java 8 are covered here.The book end's with what all changes can Java take and how it can be changed, shows clearly where does Java stands today.One of the best thing about the book is the appendix. Appendix shows:1. What all minor changes made to the Java 82. What all library got changed in Java 83.

JAVA: Quick and Easy JAVA Programming for Beginners (Java, java programming, java for dummies, java ee, java swing, java android, java mobile java apps) Java 8 in Action: Lambdas, Streams, and functional-style programming JAVA: The Ultimate Guide to Learn Java Programming Fast (Programming, Java, Database, Java for dummies, coding books, java programming) (HTML, Javascript, ... Developers, Coding, CSS, PHP Book 1) Java: The Ultimate Guide to Learn Java and C++ (Programming, Java, Database, Java for dummies, coding books, C programming, c plus plus, programming for ... Developers, Coding, CSS, PHP Book 2) Java 8 Lambdas: Functional Programming For The Masses Style: The Lady's Guide to French Style, Fashion and Beauty- Get Dressed to Look Charm and Elegant (French Chic, Sense of Style, Style, Style Books, Style ... Dressed, Look Hot, Look Fabulous Book 1) JAVA: Easy Java Programming for Beginners, Your Step-By-Step Guide to Learning Java Programming (Java Series) Programming: Computer Programming for Beginners: Learn the Basics of Java, SQL & C++ - 3. Edition (Coding, C Programming, Java Programming, SQL Programming, JavaScript, Python, PHP) Javascript: Beginner to Expert with Javascript Programming (Javascript, Javascript Programming, Javascript for Beginners, Java, Java Programming, Java for Beginners,) Programming #8:C Programming Success in a Day & Android Programming In a Day! (C Programming, C++programming, C++ programming language, Android , Android Programming, Android Games) Programming #57: C++ Programming Professional Made Easy & Android Programming in a Day (C++ Programming, C++ Language, C++for beginners, C++, Programming ... Programming, Android, C, C Programming) DOS: Programming Success in a Day: Beginners guide to fast, easy and efficient learning of DOS programming (DOS, ADA, Programming, DOS Programming, ADA ... LINUX, RPG, ADA Programming, Android, JAVA) Prolog Programming; Success in a Day: Beginners Guide to Fast, Easy and Efficient Learning of Prolog Programming (Prolog, Prolog Programming, Prolog Logic, ... Programming, Programming Code, Java) C++: Beginners Guide to Learn C++ Programming Fast and Hacking for Dummies (c plus plus, C++ for beginners, JAVA, programming computer, hacking, how to ... Programming, Coding, CSS, Java, PHP Book 5) Functional Programming in Java: Harnessing the Power Of Java 8 Lambda Expressions Programming #45: Python Programming Professional Made Easy & Android Programming In a Day! (Python Programming, Python Language, Python for beginners, ... Programming Languages, Android Programming) JAVA: JAVA 100 Tests, Answers & Explanations, Pass Final Exam, Pass Job Interview Exam, Pass Engineer Certification Exam, Examination, Learn JAVA programming in easy steps: A Beginner's Guide App Development: Swift Programming : Java Programming: Learn In A Day! (Mobile Apps, App Development, Swift, Java) ASP.NET: Programming success in a day: Beginners guide to fast, easy and efficient learning of ASP.NET programming (ASP.NET, ASP.NET Programming, ASP.NET ... ADA, Web Programming, Programming) C#: Programming Success in a Day: Beginners guide to fast, easy and efficient learning of C# programming (C#, C# Programming, C++ Programming, C++, C, C Programming, C# Language, C# Guide, C# Coding)