Stay Ahead with Java’s Latest Features in JDK 23
summary
Stream Gatherers let Java perform grouping as an intermediate lazy operator that avoids materializing maps; example bundles integers by 10 produce five bundles from 50 elements and handle 53 with a finisher, demonstrating initializer, integrator, combiner, finisher semantics and greedy versus non‑greedy modes. Flexible constructor bodies allow checks before calling super while forbidding this references. Preview features remove boilerplate main/class syntax, enable multi‑file launch without a build tool, advertise SDKMAN and mcs for managing JDKs and dependencies, and advance pattern matching (unnamed variables, primitive patterns).
AI-written summary · about
related talks
02h 31mJava 23 - Better Language, Better APIs, Better Runtime
52mJava 22 and Beyond: A Roadmap of Innovations
40mStream Gathers - The biggest change to Java Streams since 10 years
52mJava Language Futures
46mJEP 461: Breathing New Life into Java Stream API
45mStream Gatherers
32mGetting the Most from Modern Java
01h 00mLatest Java Best Practices
