~/talk

Transforming Data using the Functional API

slides:none on file

Shows concrete Java code patterns using the Streams and Collectors APIs (Java 8+), demonstrating filter map reduce as the core model and using Collectors like Collectors.joining and toList/toSet/toMap, plus partitioning and groupingBy with mapping/counting; gives a working example that finds the first repeated letter in "hello" by comparing indexOf/lastIndexOf, shows a reduce totaling ages (result 60) and counting evens (result 5), and explains lazy evaluation and short-circuiting.

AI-written summary · about

  1. 0:00Introduction to functional API
  2. 1:21Filtering collections of data
  3. 5:10Transforming data with map
  4. 8:38Reducing data to single values
  5. 17:37Specialized reduction operations
  6. 23:37Lazy evaluation and efficiency
  7. 31:39Solving real-world problems
  8. 43:04Collectors and data grouping
  9. 52:45Grouping and conclusion
~/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.