Java Lambdas and Streams [Course]

Content

After a short theory section, we refactor a legacy application by replacing anonymous classes with lambdas and method references at appropriate locations and replacing complex and nested loop constructs with elegant streams and collectors.

In the theory part, we cover the following basics:

  • What are functional interfaces?
  • What types of lambdas are there?
  • What are method references?
  • What are the advantages of a stream over traditional code structures?
  • What stages does a stream consist of? (Creation, parallelization, transformation, filtering, termination).

We will also discuss during the practical part when it does not make sense to use streams, even if it is technically possible.

You can combine this course very well with "New Language Features in Java 8 to 17".

Target Audience

  • Java developers who want to become familiar with lambdas, method references and streams introduced in Java 8 or who want to strengthen their existing knowledge.

Prerequisites

  • Practical experience with Java
  • Workstation with 16 (or higher)
  • Java IDE: I use IntelliJ and recommend this to my students as well. But you can also use Eclipse.

You can find more information about my course offerings on the overview page.

Send your inquiry to [email protected].

Course Info

Trainer: Sven Woltmann

Duration: 1 day

You can find price details on the Java trainings overview page.