Book Image

Java SE New Features: Covers Versions 9, 10, 11, and 12 [Video]

By : Tatiana Fesenko
Book Image

Java SE New Features: Covers Versions 9, 10, 11, and 12 [Video]

By: Tatiana Fesenko

Overview of this book

As a developer, every day you need to learn new technologies… and quickly. With frequent Java releases, you need to constantly update your knowledge of Java too. This short course will equip you with insights into the newest key features of Java—in no time. We start by explaining the new release model and how it affects you. This course goes beyond Java's (in) famous modularity which allows us to partition a system into modules with clear dependencies. You'll learn to write more concise code with the coolest new features, including local variable type inference (var) and the improved API for strings, files and collections. You will also understand how to work with very popular reactive streams. The course finishes with a description of the new enhancements you can apply to improve the performance of your code. By the end of this short course, you'll know how to use the most powerful features of modern Java to write faster and more readable programs. All the code files and other files are placed on GitHub at this link https://github.com/PacktPublishing/Java-SE-New-Features-Covers-Versions-9-10-11-and-12
Table of Contents (3 chapters)
Chapter 2
Better Java
Content Locked
Section 4
Going More Functional: Improvements to Collections, Optional, and Predicate
Java follows the general trend in programming to be more functional and provides new methods to easily create pre-populated immutable lists and maps. Optional class is getting an upgrade too. - Create immutable pre-populated lists and maps with the new API - Learn the new methods available in the Optional class