single key multiple values class

I would like to get hold of a class which supports single key and multiple values somewhat similar to key-value pairs in hashtable, dictionary. The key-value pair properties must be configurable. If existing java classes are not supporting, tell me the process as to how i can continue my work.
LVL 17
k_murli_krishnaAsked:
Who is Participating?
 
diakovConnect With a Mentor Commented:
Put collections in a Hashtable. This way you have many values associated to a key. Or do you mean something else?

Cheers,
  Nik
0
 
yaseransariCommented:
Hello
     Hashtable would do. Just put a vector of values against the key . Then pick up the required value from the
vector.
simple


Regards
Yaser Ansari
0
 
diakovCommented:
to yaseransari :

how does your comment differ from mine? try to bring something new to the discussion.

Cheers,
  Nik
0
 
yaseransariCommented:
to diakov:
         i didnt know that there was a similar comment already.

Regards
Yaser Ansari
0
 
diakovCommented:
Sory, I appologize. I should have looked at the posting time.

Cheers,
  Nik
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.