Hi all, I had a HashMap with some key and value pairs. Now the value part is no more valid. Can anybody suggest an alternative data structure so that i can still search based on the key, (instead of iterating through the entire thing like arrays) and do not have any associated value part. Thanks Prashanti
posted 12 years ago
So, you just want to know if the key exists or not? No value to retrieve? Sounds like a HashSet.