Opleiding: Java Functional Programming: Lambdas and Streams
Learn functional programming in Java with Lambdas and Streams.
Description
Since their introduction in Java 8 (2014), lambdas have significantly influenced the Java programming language. They represent more than just a library addition — they mark a fundamental shift in the Java programming model and development style. Lambdas offer an accessible path to functional programming, seamlessly integrating with Java’s traditional imperative and object-oriented paradigms.
Streams, introduced alongside lambdas, extend this shift by enabling a declarative approach to processing collections. They allow developers to express complex data transformations and aggregations with concise, composable operations — focusing on the what rather than the how. Together, lambdas and streams bring a more expressive, readable, and functional style to everyday Java code.
This course explains these concepts in depth, with clear examples and plenty of hands-on exercises during the lab sessions.
AI-Boosted: Students use AI as an aid in completing several assignments.
Learning Goals
- Understand functional programming in Java. [Understand]
- Understand lambda expressions in Java [Understand]
- Understand method references in code. [Understand]
- Understand streams in Java. [Understand]
- Understand parallel streams in Java [Understand]
- Produce a Java application that applies the functional programming style using lambdas and streams. [Apply]
Subjects
- Functional programming
- Passing a piece of code
- Lambda expressions
- Creating streams
- Processing data with streams
- Collecting data with streams
- Parallel streams