Description |
1 online resource (1 volume) : illustrations |
Contents |
Fundamentals -- Java 8: why should you care? -- Passing code with behavior parameterization -- Lambda expressions -- Functional-style data processing -- Introducing streams -- Working with streams -- Collecting data with streams -- Parallel data processing and performance -- Effective Java 8 programming -- Refactoring, testing, and debugging -- Default methods -- Using Optional as a better alternative to null -- CompletableFuture: composable asynchronous programming -- New Date and Time API -- Beyond Java -- Thinking functionally -- Functional programming techniques -- Blending OOP and FP: comparing Java 8 and Scala -- Conclusions and where next for Java -- Appendix A. Miscellaneous language updates -- Appendix B. Miscellaneous library updates -- Appendix C. Performing multiple operations in parallel on a stream -- Appendix D. Lambdas and JVM bytecode. |
Summary |
Every 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. -- Provided by publisher. |
Subject |
Java (Computer program language)
|
|
Object-oriented programs (Computer programs)
|
|
Java (Langage de programmation) |
|
Java (Computer program language) |
|
Object-oriented programs (Computer programs) |
Added Author |
Fusco, Mario.
|
|
Mycroft, Alan.
|
Added Title |
Java eight in action |
Other Form: |
Print version: Urma, Raoul-Gabriel. Java 8 in action. Shelter Island, N.Y. : Manning, ©2015 (DLC) 2014466304 |
ISBN |
1617291994 |
|
9781617291999 |
|