How Hashmap Works Internally

theskilledcoder's tweet image. How Hashmap Works Internally

what is the hashing , is it dependent on the data type ?


Hashing converts a key (any data type) into an integer (hash code), typically using the key’s hashCode() method. Yes, it depends on the datatype and different classes override hashCode() differently.


Nice explanation


United States เทรนด์
Loading...

Something went wrong.


Something went wrong.