Learn how and when to use the Collection API enhancements from Java 8 to reduce repetitive and error-prone code when handling and transforming collections.
This video will include alternative ways to iterate a collection, to check for keys and add entries to a map, and to replace or compute a value of a map given an existing entry.
🕒 Timestamps 🕒
00:00 - Introduction
00:54 - forEach
03:20 - getOrDefault
06:10 - putIfAbsent
08:10 - replace
09:40 - replaceAll
11:10 - compute
13:00 - merge
On this page of the site you can watch the video online New to Java 8: Collection API Enhancements - Java tutorial with a duration of hours minute second in good quality, which was uploaded by the user Aneesh Mistry 15 November 2021, share the link with friends and acquaintances, this video has already been watched 1,077 times on youtube and it was liked by 25 viewers. Enjoy your viewing!