~/talk

Polishing the Diamond: Core Library Improvements in Java 9

Talkat Jfokus 2018 · 2018-02-05..02-07· [java, developer-experience]
links:none on file
slides:none on file

Live-coded demos use the JShell REPL to show concrete Java 9 improvements that simplify real code: collection factory methods produce truly immutable lists and sets and Map.of overloads up to 10 (with Map.entry varargs for more pairs), Stream.ofNullable plus takeWhile/dropWhile and the iterate overload stop infinite streams by value, new collectors filtering and flatMapping preserve grouping semantics, and Optional gains stream(), ifPresentOrElse and or to compose lookups. Sample code runs on iteratrlearning / GitHub and examples execute as shown.

AI-written summary · about

  1. 0:00Introduction
  2. 1:41Expressions
  3. 2:00Table of Contents
  4. 2:49The Biggest Problem
  5. 4:15ArrayList
  6. 6:14Collections Factory
  7. 8:29MapFactory
  8. 18:11Limit Statement
  9. 22:09Collectors
  10. 27:33Tags
  11. 31:06Optionals
  12. 36:41IfPresent
  13. 40:19Optional API
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.