Skip to main content

Java Streams API

2h 33m 12s
English
Paid

Functional programming is becoming increasingly popular due to its emphasis on pure functions. Functional applications avoid shared state, resulting in code that is typically more concise and predictable compared to traditional object-oriented approaches. In this Java Streams API course, you will learn how to transition from an imperative to a declarative programming style, allowing you to write less code and concentrate on building efficient and meaningful applications.

Course Overview

What is Functional Programming?

Gain an understanding of the core principles of functional programming and how it contrasts with traditional programming paradigms.

Stream API

Learn about the Stream API in Java and how it enables you to perform operations on collections of data more efficiently and with a functional style.

Transformations with Map, Reduce, and FlatMap

Explore how to apply transformations using map, reduce, and flatMap to manipulate and process streams of data.

Filtering with Filter and TakeWhile

Understand how to filter data using filter and takeWhile to streamline your data processing workflow.

Collectors

Discover the power of collectors in collecting and summarizing data from streams into various containers, such as lists and maps.

Statistics

Learn how to perform statistical operations on streams of data to gain insights and analytics.

Grouping

Dive into grouping operations to organize streams of data into meaningful categories for further evaluation.

Sorting

Master techniques to sort streams of data, making them easier to navigate and interpret.

About the Author: Amigoscode (Nelson Djalo)

Amigoscode (Nelson Djalo) thumbnail
Nelson is a software engineer with a 1st class honors degree in computer science. In recent years, Nelson has programmed in various programming languages ​​such as PHP, Python, C #. He primarily writes Java and JavaScript, focusing on large distributed systems hosted in the cloud.

Watch Online 49 lessons

This is a demo lesson (10:00 remaining)

You can watch up to 10 minutes for free. Subscribe to unlock all 49 lessons in this course and access 10,000+ hours of premium content across all courses.

View Pricing
0:00
/
#1: Intellij
All Course Lessons (49)
#Lesson TitleDurationAccess
1
Intellij Demo
01:21
2
Clone
03:43
3
Codebase Walkthrough and Start Branch
03:04
4
Java Streams
03:30
5
How Streams Work
03:27
6
Getting Started With Streams
06:30
7
Exercise
00:59
8
Impretive Solution
01:52
9
Declarative Solution
04:08
10
Visualize Streams
02:13
11
IntStreams
03:54
12
Exercise
00:28
13
Exercise Solution
02:03
14
InsStream Iterate
02:07
15
Other Types of Steams
01:30
16
Finding Minimum Number
03:35
17
Finding Maximum Number
01:39
18
Distinct
02:51
19
Collecting to Set
02:41
20
Filter
04:20
21
Take While
03:23
22
Drop While
02:46
23
Find First
03:10
24
Find Any
02:36
25
AllMatch and AnyMatch
04:36
26
Map
09:54
27
Exercises
00:39
28
Exercise Solution
01:56
29
Reduce
04:01
30
Exercise
01:03
31
Exercise Sol
02:30
32
Flatmap List of Lists
02:16
33
Flatmap List of Optionals
03:19
34
Count
04:00
35
Min Max without comparators
02:02
36
Average and Sum
02:22
37
Summary Statistics
03:39
38
GroupBy
05:00
39
Grouping and Counting
03:33
40
Sorting Elements
03:48
41
Sorting Objects
06:07
42
Exercise
00:25
43
Exercise Solution
02:07
44
Joining Strings Exercise
01:24
45
Joining Strings Exercise Solution
03:50
46
Understanding Collectors
06:20
47
Collectors and Combiner
02:47
48
Streams Are Lazy
03:22
49
How Streams Process Data.cmproj
04:22
Unlock unlimited learning

Get instant access to all 48 lessons in this course, plus thousands of other premium courses. One subscription, unlimited knowledge.

Learn more about subscription