Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Refactoring to Java 8

JetBrains via YouTube

Overview

This course focuses on teaching learners how to refactor Java code to leverage the features of Java 8 effectively. By the end of the course, students will be able to refactor code to use Lambda expressions, Streams, and Collection methods. The teaching method involves live demonstrations, performance and readability comparisons, and a summary of findings. This course is intended for Java developers looking to enhance their coding skills and improve the performance and readability of their code using Java 8 features.

Syllabus

Why Java 8
Safety checks
Refactoring to Lambda expressions
Performance of Lambda expressions
Designing for Lambda expressions
Refactoring “for” loop to Stream.forEach
Readability and performance: Stream.forEach vs “for” loop
Refactoring “for” loop to Stream.collect
Readability and performance: Stream.collect vs “for” loop
Collapsing multiple operations
Readability and performance: multiple operations
Refactoring “for” loop to Stream.anyMatch
Readability and performance: “for” loop vs Stream.anyMatch
Refactoring “for” loop to Stream.findFirst
Readability and performance: “for” loop vs Stream.findFirst
Refactoring to Collection.removeIf
Readability and performance: Collection.removeIf
Summary of findings
Q & A

Taught by

IntelliJ IDEA by JetBrains

Reviews

Start your review of Refactoring to Java 8

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.