Java HashSet key/value pair

Posted by harley on Stack Overflow See other posts from Stack Overflow or by harley
Published on 2010-03-23T22:32:29Z Indexed on 2010/03/23 22:43 UTC
Read the original article Hit count: 947

Filed under:
|
|
|

Why does Java not provide functions to get at the key/value pairs in a HashSet like in Hashtable? It seems like a real pain to have to iterate over it every time you need to get at something. Or am I just a newb missing something?

© Stack Overflow or respective owner

Related posts about java

Related posts about hashset