Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Stream Gatherers: Write Your Own Stream Operations!

Автор: HappyCoders

Загружено: 2025-12-23

Просмотров: 16

Описание:

The Java Stream API was introduced with Java 8 in March 2014, providing us with an indispensable tool for data processing.

However, the limited set of intermediate operations – filter, map, flatMap, mapMulti, distinct, sorted, peak, limit, skip, takeWhile, and dropWhile – means that more complex data transformations cannot be expressed directly through the Stream API.

Operations like window and fold, among many others, are missing if we look at the community’s feature requests.

Instead of integrating all these operations into the Stream interface, the JDK team developed a new API that, on the one hand, is used within the JDK itself to provide highly requested intermediate operations and, on the other hand, allows developers to implement their own operations.

This new API is called “Stream Gatherers” and was first released as a preview feature (JEP 461) in Java 22 in March 2024, exactly ten years after the introduction of the Stream API. In Java 23, the new API was sent into a second preview round without changes (JEP 473).

In this talk, you will learn in theory and practice (including live coding) what Stream Gatherers are and how they work, which Gatherers are already available in the JDK and how to use them effectively, how to implement your own Gatherers, and where the limits of the new API lie.

👉 Links and slides
https://www.happycoders.eu/stream-gat...

👉 Article
https://www.happycoders.eu/java/strea...

👉 GitHub repository
https://github.com/SvenWoltmann/strea...

👉 Interested in regular expert tips on modern Java and in-depth JVM knowledge?
Subscribe to the HappyCoders newsletter: https://www.happycoders.eu/newsletter/

Stream Gatherers: Write Your Own Stream Operations!

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Hexagonal Architecture: Robust Software With Interfaces Instead of Layers

Hexagonal Architecture: Robust Software With Interfaces Instead of Layers

Stream Gatherers - Deep Dive with the Expert

Stream Gatherers - Deep Dive with the Expert

Quicksort Algorithm [with Animated Example]

Quicksort Algorithm [with Animated Example]

There is a missing tool in your Java data structure toolkit – DataFrames!

There is a missing tool in your Java data structure toolkit – DataFrames!

Как устроен PHP 🐘: фундаментальное знание для инженеров

Как устроен PHP 🐘: фундаментальное знание для инженеров

Huge Breakthrough: We're Beyond Silicon

Huge Breakthrough: We're Beyond Silicon

Google Coding Interview With a Google Software Engineer

Google Coding Interview With a Google Software Engineer

Java Streams API Explained (with examples)

Java Streams API Explained (with examples)

🔥 Стримы Kafka для начинающих | Что и зачем нужны потоки Kafka @Javatechie

🔥 Стримы Kafka для начинающих | Что и зачем нужны потоки Kafka @Javatechie

API Design and Architecture  - Backend Engineering Intro (1 Hour)

API Design and Architecture - Backend Engineering Intro (1 Hour)

Selection Sort Algorithm [Easily Explained]

Selection Sort Algorithm [Easily Explained]

Stream API in Java : Foundation |  Java 8

Stream API in Java : Foundation | Java 8

Hexagonale Architektur: Robuste Software dank Schnittstellen statt Schichten

Hexagonale Architektur: Robuste Software dank Schnittstellen statt Schichten

Почему React Router v7 проигрывает TanStack?

Почему React Router v7 проигрывает TanStack?

Запомни легко 5 новых английских слов

Запомни легко 5 новых английских слов

Java 8 Stream API Cheat Sheet for Interviews | PlayBook | @Java Techie

Java 8 Stream API Cheat Sheet for Interviews | PlayBook | @Java Techie

Quicksort Algorithmus [mit Animation, Deutsch]

Quicksort Algorithmus [mit Animation, Deutsch]

ESP32: распознавание речи нейросетью (TensorFlow Lite)

ESP32: распознавание речи нейросетью (TensorFlow Lite)

Insertion Sort Algorithm [Easily Explained]

Insertion Sort Algorithm [Easily Explained]

JVM, JRE, and JDK - Fully Explained in 5 Minutes

JVM, JRE, and JDK - Fully Explained in 5 Minutes

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]