Learn about the many enhancements that Java 21 is giving you in the classes you are using every day.
Java 21 is introducing several major new features: virtual threads and pattern matching. But it also brings new many small additions to classes that you are using every day, and that you can leverage from day one. This video covers the most important ones: the String class, regular expressions, the Collections framework, some additions in Java I/O, the Math class, and, as a bonus some important deprecations you need to be aware of.
⎯⎯⎯⎯⎯⎯ Chapters ⎯⎯⎯⎯⎯⎯
0:00 Intro
1:18 New methods on String, Character, StringBuilder and StringBuffer
2:34 Naming your capturing groups in regular expressions
4:01 Additions to the Collections framework
6:22 Localization in the Date and Time API
6:53 Additions to the Java I/O API
7:49 Using AutoCloseable with HttpClient, ExecutorService, and ForkJoinPool
9:29 Additions to the Math class
11:25 Multiplying BigIntegers in parallel
12:00 Additions to the Thread class
13:25 Additions to the Future interface
14:45 Deprecation of finalize()
15:42 Deprecation of the constructors of the wrapper classes
16:20 Outro
⎯⎯⎯⎯⎯⎯ Resources ⎯⎯⎯⎯⎯⎯
◦ Full #RoadTo21 Playlist ➱ • Road to 21
◦ Java 21 New Feature: Virtual Threads ➱ • Java 21 new feature: Virtual Threads #Road...
◦ Java 21 New Feature: Sequenced Collections - JEP Cafe #19 ➱ • Java 21 New Feature: Sequenced Collections...
◦ The JEP 444: Virtual Threads ➱ https://openjdk.org/jeps/444
◦ The JEP 431: Sequenced Collections ➱ https://openjdk.org/jeps/431
Tags: #Java #Java21 #Tools #OpenJDK
On this page of the site you can watch the video online Java 21 API New Features with a duration of hours minute second in good quality, which was uploaded by the user Java 10 September 2023, share the link with friends and acquaintances, this video has already been watched 60,964 times on youtube and it was liked by 1.4 thousand viewers. Enjoy your viewing!