Java Streams Tutorials - Part 4 - terminal operations overview

Опубликовано: 28 Сентябрь 2024
на канале: Dr. Seán Kennedy
176
7

This tutorial outlines the various terminal operations available to operate on streams. Explanations follow as to why specific terminal operations are/are not considered a "reduction". Code samples are included for : count(), min(), max(), findAny(), findFirst(), anyMatch(), allMatch(), noneMatch() and forEach().

The full playlist is here:    • Playlist  

0:00 Introduction
0:24 Terminal operations
2:13 count(), min(), max()
4:07 findAny(), findFirst()
4:59 anyMatch(), allMatch(), noneMatch()
5:39 forEach()