Does the java JFC hash table use seperate chaining resolution? Can I traverse each list in the table

Posted by Matt on Stack Overflow See other posts from Stack Overflow or by Matt
Published on 2010-05-04T20:47:25Z Indexed on 2010/05/04 21:08 UTC
Read the original article Hit count: 208

Filed under:
|
|

I have written a program to store a bunch of strings in a JFC hash table. There are defiantly collisions going on, but I don't really know how it is handling them. My ultimate goal is to print the number of occurrences of each string in the table, and traversing the bucket or list would work nicely. Or maybe counting the collisions? Or do you have another idea of how I could get a count of the elements?

© Stack Overflow or respective owner

Related posts about java

Related posts about hashtable