3 ms·
Ah, thanks for the clarification, my mistake. If that hasn't been answered elsewhere, then the important part is that the hash code for a particular object is
by DougBTX 9y ago
Ah, thanks for the clarification, my mistake.
If that hasn't been answered elsewhere, then the important part is that the hash code for a particular object is always constant, every call to getHashCode for that object returns the same value, so in a sense it is deterministic (the same object always hashes to the same value, which is all the hash table cares about) even if the actual number was initially generated using a non-deterministic process.