Polishing the Diamond: Core Library Improvements in Java 9
summary
Live-coded demos show the JShell REPL evaluating expressions and running examples interactively and successfully, not slides. Java 9 adds concise factory methods like List.of/Set.of/Map.ofEntries that produce immutable collections, stream helpers such as Stream.ofNullable and takeWhile plus the new iterate overload to stop infinite streams, collector additions like Collectors.filtering and flatMapping to compose downstream reductions, and Optional helpers including optional.stream(), ifPresentOrElse and or() for chaining option-producing lookups.
AI-written summary · about
chapters (10)
- 0:00Start
- 2:57The Biggest Thing That People Hate about Java
- 6:27Java 9 Adds some Factory Methods for Collections
- 9:26Maps
- 16:58Filter Operation
- 23:38Stream Api
- 24:35Collectors Api
- 31:37Flat Mapping
- 39:02Finding the Addresses of Clients
- 44:02Java App Store Xml Binder Data Type Converter








