On the page with the code for the get() and put() methods for the hashtable: I assume "hc" in the second line of each function should be "hash", correct?
- Mike
Tags:
Sorry, yes I assume you're referring to here:
http://www.javamex.com/tutorials/collections/64_bit_hash_map_implem...
Looks like there was a cut + paste error -- I will correct!
OK, now fixed on the page. The offending line reads:
int hc = (int) hash & hashMask;
© 2024 Created by Neil Coffey. Powered by