A
Arne Vajhøj
Mark said:They need to be random primarily on their lower order bits because most
hash functions will just use modulo arithmetic to clip the hash code to
the proper table size.
That should only be a problem if it is modulus of a power of two.
However they need to be random in all bits because you don't know the
table size ahead of time (other than it's, hopefully, less than the size
of an integer).
Since Java only supports arrays dimension/indexes of int, then
your hope will always come true in this case.
Arne