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:
Permalink Reply by Neil Coffey on August 3, 2011 at 10:04    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!
Permalink Reply by Neil Coffey on August 3, 2011 at 10:11    OK, now fixed on the page. The offending line reads:
int hc = (int) hash & hashMask;
    © 2025               Created by Neil Coffey.             
    Powered by