The document discusses hashmaps and hashtables in Java. It explains that elements are stored as integers known as hashcodes and collisions can occur when two elements are assigned the same index after hashing. Two ways to handle collisions are chaining and open addressing.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
8 views2 pages
Introduction To HashMap HashTable in Java
The document discusses hashmaps and hashtables in Java. It explains that elements are stored as integers known as hashcodes and collisions can occur when two elements are assigned the same index after hashing. Two ways to handle collisions are chaining and open addressing.