Two Sloths from the Java Universe
summary
Comparison of Java Streams and Kotlin Sequence: explains how each mechanism works internally, highlights similarities and key differences in design and behavior, and examines their implementation details and performance implications. Covers concrete aspects of stream and sequence internals rather than high-level usage.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 1:56Java streams and sequences
- 3:22Filtering with intermediate collections
- 5:52How Java sequences work
- 11:13Pipeline operations on sequences
- 16:26Q&A
- 16:48Creating Java streams
- 21:02Pipeline operations on streams
- 26:55Terminal stream operations
- 33:45Counting elements
- 37:50Collectors and collect
- 42:15SplitIterator in streams
- 44:22Stream reuse limits
- 47:15Streams vs sequences
- 50:12Q&A and conclusion
related talks
45mPerformance of sequence, stream and collection on the JVM
47mStreams – Below the Surface
01h 02mFunctional Programming in Java, Groovy, and Kotlin
45mAsynchronous Data Streams with Kotlin Flow
43mFunctional Programming in Java, Groovy, and Kotlin
51mIf Streams Are So Great, Let’s Use Them Everywhere... Right??
50mLet’s Get Lazy: Explore the Real Power of Streams
44mThinking in Streams
