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?


- Mike

Views: 174

Reply to This

Replies to This Discussion

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


© 2020   Created by Neil Coffey.   Powered by

Badges  |  Report an Issue  |  Terms of Service