Optimizing Equals Methods with Pattern Matching in Java - JEP Cafe 21
Offered By: Java via YouTube
Course Description
Overview
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
Related Courses
Algorithms, Part IPrinceton University via Coursera Introduction à la programmation orientée objet (en Java)
École Polytechnique Fédérale de Lausanne via Coursera MongoDB for Java Developers
MongoDB University Initiation à la programmation (en Java)
École Polytechnique Fédérale de Lausanne via Coursera Intro to Java Programming
San Jose State University via Udacity