Equals and hashcode in Java Part 1 - How they impact Collections - IMPORTANT | Java9s

Опубликовано: 08 Август 2026
на канале: java9s
224,179
1.3k

http://java9s.com
equals and hashCode methods implementation in the data objects is extremely important when the application creates and hold data obtained from the database or from any source. It is important that applications does not maintain the redundant information as part of the objects which eat the memory as well as impact the performance of collections and sometime even functioning of collections is directly dependent on these methods.
So, in this video i have explained the importance of overriding equals and hashcode methods and also demonstrated how they impact the performance of the collections.