New to Java 8: Collection API Enhancements - Java tutorial

Опубликовано: 17 Март 2026
на канале: Aneesh Mistry
1,077
25

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