Consistency of hashCode() on a Java string - Stack Overflow
You should not rely on a hash code being equal to a specific value. Just that it will return consistent results within the same execution. The API docs say the following : The general contract of hashCode is: Whenever it is invoked on the same object more
stackoverflow.com |