thepointman.dev_

Courses / Modern Java

Java Streams

intermediate10 lessons

Lazy evaluation proven step by step, how the stream pipeline actually fuses and executes, Spliterator characteristics and parallel splitting, IntStream/LongStream to avoid autoboxing, parallel streams and the ForkJoinPool traps, and when parallel() actively makes things slower.

// Lessons

  1. 01

    The Stream Mental Model — Source, Intermediate, Terminal

    soon
  2. 02

    Lazy Evaluation — Nothing Executes Until the Terminal Operation

    soon
  3. 03

    Stream Sources — Collection, Arrays, Stream.of, iterate, generate

    soon
  4. 04

    Intermediate Operations — filter, map, flatMap, sorted, distinct

    soon
  5. 05

    Terminal Operations — collect, reduce, forEach, count, findFirst

    soon
  6. 06

    The Spliterator — Java's Parallel Iteration Protocol

    soon
  7. 07

    Stream Pipeline Execution — How the Stages Actually Fuse

    soon
  8. 08

    Parallel Streams — ForkJoinPool, Encounter Order and Thread Safety

    soon
  9. 09

    When Parallel Hurts — Overhead, Ordering Cost and the Wrong Workload

    soon
  10. 10

    IntStream, LongStream, DoubleStream — Avoiding Autoboxing in Streams

    soon