Originally posted by Deepak A:
Michael,
I know how to use the Map interface but what i am worried about is whether it is a good idea to store 20000 elements in a Map???
You didn't
ask if it was a good idea, though -- you asked if you
can. Different question! But the answer is the same: yes, pretty much. 20,000 is a small number as far as any of the standard API map implementations go.
On another note, you may not have read our
naming policy on the way in. It requires that you use a full, real (sounding) first and last name for your display name. An initial isn't enough for a last name. You can change your display name
here. Thanks! We take this rule rather seriously.