Upload date
All time
Last hour
Today
This week
This month
This year
Type
All
Video
Channel
Playlist
Movie
Duration
Short (< 4 minutes)
Medium (4-20 minutes)
Long (> 20 minutes)
Sort by
Relevance
Rating
View count
Features
HD
Subtitles/CC
Creative Commons
3D
Live
4K
360°
VR180
HDR
557 results
P.S.: One catch here is that to use custom types with HashMaps (as their Keys), one needs to override the hashCode method to ...
22 views
9 months ago
Discover the purpose behind the Java expression `res = id ^ (id 32)` in the hashCode method and its significance in ensuring ...
2 views
For example, the original title of the Question was: Is it necessary to override hashcode method in non hashed datastructure Also, ...
1 view
10 months ago
Learn about the exceptions to the `hashCode()` method for unequal objects in Java, understanding its implications and behavior ...
11 months ago
Discover the best practices for computing `hashCode()` in Java when overriding `equals()` for stricter equality, and learn how to ...
5 views
Discover how to implement an effective hashCode method in Java for classes containing dates while considering a predefined ...
0 views
Discover why Java's `hashCode()` method doesn't follow the conventional naming pattern of getters and setters in this insightful ...
7 months ago
In this video, we delve into the crucial concepts of `equals()` and `hashCode()` within Java's Collection Interface. Understanding ...
3 views
1 month ago
Learn how to effectively implement the `equals` and `hashCode` methods in Java for classes containing double fields, ensuring ...
3 months ago
Best Practices: Ideally, the hashCode method should provide a unique computation based on the actual fields of the object.
One frequent question developers face is whether to regenerate the equals and hashCode methods in subclasses, especially if ...
Why do we need to override both equals() and hashcode() in Java? This is one of the most important Java interview questions ...
Java Interview Questions – Episode 6 What is the contract between equals() and hashCode() in Java? And where is it used?
46 views
5 months ago
Explore how `equals()` and `hashCode()` work in Java with practical examples to improve your understanding of object ...
10 views
Are you struggling to reconvert a concatenated hashcode String back to an int in Java? Discover the causes behind the ...
For example, the original title of the Question was: Best implementation for hashCode method for a collection Also, Content ...
How Do hashCode() And Equals() Work In Java Collections? Are you curious about how Java collections efficiently store and ...
6 views
2 months ago
Discover whether it's possible to search a `HashMap` using hashcodes rather than keys in Java, and explore practical methods to ...
The Mechanism Behind HashCode Changes Understanding HashCode Calculation In Java, the hashCode method generates a ...
Explore the importance of properly overriding `GetHashCode()` in your classes, and learn whether to factor in the base class's ...