Javamex

Java discussion forum to accompany the Javamex web site.

Mike Lewis's Discussions

error in Java hashtable implementation?

Started this discussion. Last reply by Neil Coffey Aug 3, 2011. 2 Replies

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? - MikeContinue

Gifts Received

Gift

Mike Lewis has not received any gifts yet

Give a Gift

 

Mike Lewis's Page

Latest Activity

Neil Coffey replied to Mike Lewis's discussion error in Java hashtable implementation?
"OK, now fixed on the page. The offending line reads:   int hc = (int) hash & hashMask;"
Aug 3, 2011
Neil Coffey replied to Mike Lewis's discussion error in Java hashtable implementation?
"Sorry, yes I assume you're referring to here:     http://www.javamex.com/tutorials/collections/64_bit_hash_map_implementation_2.shtml   Looks like there was a cut + paste error -- I will correct!"
Aug 3, 2011
Mike Lewis posted a discussion

error in Java hashtable implementation?

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? - MikeSee More
Aug 2, 2011
Mike Lewis is now a member of Javamex
Aug 2, 2011

Profile Information

What other languages do you use apart from Java?
Perl

Comment Wall

You need to be a member of Javamex to add comments!

Join Javamex

  • No comments yet!
 
 
 

© 2017   Created by Neil Coffey.   Powered by

Badges  |  Report an Issue  |  Terms of Service