I have strings coming in my code and i take hashcode of them for some purpose but i was wondering that is there any range of these hashcodes because this may happen that the number of strings coming exceed the range of hashcodes.So what is the range of hashcodes?
The range of hashCode
is the range of int
. For any desired hashCode()
, there is a String
with that hashCode
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With