+ 4

What is HASH CODE ?? and how Hash code Holds the values ??

23rd Dec 2016, 7:44 PM
Jenny Lance
Jenny Lance - avatar
7 Answers
+ 5
Hash Code is a code used for encryption (like SHA-256). Billions please? ^_^
23rd Dec 2016, 7:48 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 5
#HaXor
23rd Dec 2016, 7:51 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 4
I don't know ... Tell
23rd Dec 2016, 7:47 PM
Jenny Lance
Jenny Lance - avatar
+ 4
I will transfer to your account through Hash code just tell me your Object Reference...đŸ€đŸ€
23rd Dec 2016, 7:50 PM
Jenny Lance
Jenny Lance - avatar
+ 4
Ah, I almost went cryptographic hash until I noticed the Java tag. From the link: "This property is important to the performance of hash tables and other data structures that STORE OBJECTS IN GROUPS ("buckets") based on their computed hash values." (capitalization mine) If you've ever worked with MongoDB, you'll know that data is stored in 'shards' (separate files that behave like the inserted data is clustered based on a hash). It reminds me of: "don't try to sort right now; just find a safe place to save this, immediately. I also want you to find it again quickly...but no sorting." Then...imagine needing to save state for numerous constructed objects...or only retrieving a slice of a very large set of stored objects for processing (antivirus signatures come to mind, though that's just a guess). Then note that clustering means the objects are 'close together' in some way, reducing I/O. As for how it stores (generates?) values, I think you get to set that.
23rd Dec 2016, 9:11 PM
Kirk Schafer
Kirk Schafer - avatar
+ 2
@ValentinHacker, this hash code is in reference to Java I guess. https://en.m.wikipedia.org/wiki/Java_hashCode%28%29?wprov=sfla1
23rd Dec 2016, 8:24 PM
Rishi Anand
Rishi Anand - avatar
+ 1
You know or do you need answer ?
23rd Dec 2016, 7:46 PM
Mahes S