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

YouTube

Optimizing Equals Methods with Pattern Matching in Java - JEP Cafe 21

Java via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Dive deep into the intricacies of writing efficient equals() methods for Java classes in this comprehensive 33-minute tutorial. Explore various solutions offered by popular IDEs like Eclipse and IntelliJ, as well as libraries such as Guava and Apache Commons Lang 3. Compare these approaches and evaluate their performance across different real-life scenarios. Learn about the Pattern Matching solution available from Java 17 and Java 21, and understand its impact on equals() method implementation. Discover the concept of predictive branching and its cost implications. Analyze performance benchmarks for different data sets, including instances with the same state, different objects of the same type, and objects of different types. Gain valuable insights into optimizing equals() methods for better performance and maintainability in your Java projects.

Syllabus

Optimizing your equals() methods with Pattern Matching - JEP Cafe #21

Taught by

Java

Reviews

Start your review of Optimizing Equals Methods with Pattern Matching in Java - JEP Cafe 21

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.