~/talk

Exploring Java 9: The Key Parts

Talkat Devoxx Belgium 2017 · 2017-11-06..11-10· [java]
slides:none on file

Covers concrete Java 9 changes and how to use them: private and static helpers inside interfaces, try‑with‑resources accepting existing variables, List.of/Set.of/Map.of immutable factories, Stream.takeWhile/dropWhile and the new iterate overload with predicate, Optional.ifPresentOrElse and Optional.stream, CompletableFuture.completeOnTimeout/orTimeout, and the REPL JShell for quick experiments. Explains the module system via module-info.java (JDK splits into 94 modules), compiling/running with --module-path, exports/requires/opens, service‑loader wiring, and producing minimal runtimes with jlink — all demonstrated and runnable.

AI-written summary · about

  1. 0:00Introduction
  2. 3:05Interfaces
  3. 4:55Classes
  4. 8:18Cleanup
  5. 12:45Other languages
  6. 15:39Underscore
  7. 23:23Improv
  8. 30:23Optional
  9. 32:01Optional Example
  10. 34:56If Present or Else
  11. 41:45Process
  12. 45:26Comparison
~/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.