hashCode() value changes between executions
问题 hashCode of an object has to be consistent for that object throughout one execution of the application-- for any object o, o.hashCode() should return the same int value. However, this doesn't have to be from one run-time to another: o.hashCode() can return some other value and this is perfectly alright by the specs. HashMap calculates the right bucked based on the hashCode value. My Q is: how is this value change between one session to another handled? Does serialization have features to