~/talk

Java 8: Functional programming

Talkat JavaDay Lviv 2015 · on Sunday, 2015-06-14· [java]
links:none on file
slides:none on file

Live coding shows Java 8 features with concrete examples: lambdas and streams for counting capital letters, using IntStream, mapToObj and method references to avoid boxing, and demonstrating lazy evaluation with peek and count. Optional usage replaces exceptions with Optional.ifPresent. Builds include OpenJDK on Raspberry Pi (reported ~18 minutes on a quad‑core $35 board) and a submitted OpenJDK 9 patch that later took months to accept. Also demonstrates a higher‑order function that returns a character chooser and the example runs successfully.

AI-written summary · about

  1. 0:00Start
  2. 6:00Openjdk Starter Kit
  3. 7:16Lambdas
  4. 13:37Generics
  5. 16:12Map To Object
~/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.