When you enroll through our links, we may earn a small commission—at no extra cost to you. This helps keep our platform free and inspires us to add more value.

Lambdas in Java - From Zero to Hero
Master Java 8 Lambdas & Streams — Functional Interfaces, Collectors, Optional, Parallel Streams

This Course Includes
udemy
4.6 (314 reviews )
18h 15m
english
Online - Self Paced
professional certificate
Udemy
About Lambdas in Java - From Zero to Hero
Join the
_most comprehensive_
course that covers
Lambdas and Streams introduced in Java 8.
There are lots of
exercises
(along with the solution)
gain confidence.
Using numerous
real-life examples
, you will
learn
:
What the
Strategy pattern
is
What kinds of problems do Anonymous classes solve?
Why
do we need Lambda expressions?
How
can Lambda expressions help us in writing concise code?
What are
higher-order functions
?
Deep dive
into
how
_Lambda expressions are implemented behind the scenes and_ - 1. Understand how to look at
byte code
using
javap
2. Understand the role of the
invokedynamic
byte code instruction 3. What are
Method Handles
Commonly used functional interfaces like Predicate, Function, Supplier, Consumer, BiConsumer
- 1. How and where to apply them? 2. How are they used internally in the JDK library?
Function composition
Method references
Explore the
Comparator
interface
Numerous methods in the
Stream API like - filter, map, collect, sorted, distinct
_Understanding what a stream is_
Understanding the important characteristics of a stream
Optional API
and the right way to use them
Short-circuiting
operations in the Stream pipeline
Understand _why_ we need
Primitive Streams
Reduction
operations in the Stream pipeline and the importance of identity in Reduction
Explore the
Collectors
API
Explore
flatMap
and other sources of creating Streams
Explore
Parallel Streams
- 1. What is Moore's law? 2. Why do we need Parallel streams? 3. When should we use Parallel streams? 4. What is the infrastructure behind the scenes when we use Parallel streams? 5. How does Reduction work in parallel streams? 6. Role of the Spliterator
Learn how to
debug
and
visualize
Java 8 Streams with Eclipse & Intellij and more! Students completing the course will have a solid, in-depth knowledge of writing concise code using many features that have truly revolutionized how we write code in Java.
_Now includes a focused PDF guide on Java 8 Lambdas & Streams_
— with fresh examples, best practices, and a quick reference table for coding and interviews.
What if you have questions?
I offer
full support, 7 days a week
, answering any questions you have.
What version of Java should you use?
I am using Java 14 for all the demos since that is the latest version when recording this course. I would urge you to use the latest version of Java. However, the focus will be on Lambdas, Streams, and lots of other features introduced in Java 8 as mentioned above.
What You Will Learn?
- Starting from the basics, gain in-depth knowledge about Lambdas and Streams using lots of examples .
- Explore a variety of functional interfaces .
- Understand how Lambda expressions are implemented in the JDK by looking at the byte code .
- Complete understanding of Method references, Optional API, Comparator .
- Explore numerous methods in the Stream API and the Collectors class .
- Understand Reduction, flatMap, Parallel Streams, and when to use them .
- Learn "good" coding practices as we discover these topics by a professional Java developer who has been working with the language for 14 years .
- With plenty of exercises to solve, confidently demonstrate your understanding of Lambdas and Streams to future employers Show moreShow less.