Create a Ning Network!
Java discussion forum to accompany the Javamex web site.
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?
▶ Reply to This
Sorry, yes I assume you're referring to here:
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;
▶ Reply to Discussion
Sign Upor Sign In
© 2020 Created by Neil Coffey.
Report an Issue |
Terms of Service
Please check your browser settings or contact your system administrator.