File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Map Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Map" Watch "Map" New topic
Author

Map

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944

Does Map allow duplication?
Paul A
Ranch Hand

Joined: Aug 25, 2000
Posts: 44
Map stores key-value pairs. It can store same value more than once under different keys but does not store one key more than once!
HTH,
Paul.

------------------
http://pages.about.com/jqplus
Get Certified, Guaranteed!


<A HREF="http://pages.about.com/jqplus" TARGET=_blank rel="nofollow">http://pages.about.com/jqplus</A> <BR>Get Certified, Guaranteed!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Map
 
Similar Threads
From 60 lines to 1 line?
How to Create a Phone Book with Java?
Best Internet application
Converting user inputs to enum constants
what data structure is appropriate for me?