
- 136 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
About this book
Are you a programmer fluent in Java? It's time to take the next step! Almost 20 years after it's first version, there is a new Java with important news! Amongst the main new resources, there are the default methods, method references and lambdas. They are simple concepts, but bring important possibilities. In the book we will explore various advancements found in Java 8. Always using practical examples and presenting real usage cases, we migrate the day-to-day legacy code to the new Java 8 functional paradigm. With this triad of concepts, the API managed to evolve in an interesting manner. The java.util.stream and java.util.function packages are deeply explored, presenting simple ways to work with collections and other data structures. Streams and Collectors will be part of your routine and will become as essential as Collections and the java.io currently are to your applications. Lastly, we'll see how the new API java.time comes to change from water to wine the way how we work with dates and times.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Table of contents
- CapĂtulo 1: Java 8
- CapĂtulo 2: Hello Lambda!
- CapĂtulo 3: Functional Interfaces
- CapĂtulo 4: Default Methods
- CapĂtulo 5: Sorting in Java 8
- CapĂtulo 6: Method References
- CapĂtulo 7: Streams and Collectors
- CapĂtulo 8: More operations with Streams
- CapĂtulo 9: Mapping, partitioning, grouping, and parallelizing
- CapĂtulo 10: Enough with Calendar! New date API
- CapĂtulo 11: A payment model with Java 8
- CapĂtulo 12: Appendix: more Java 8 with reflection, JVM, APIs, and limitations