File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Map & dictionary Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Map & dictionary" Watch "Map & dictionary" New topic
Author

Map & dictionary

Betsy Camel
Ranch Hand

Joined: Oct 02, 2003
Posts: 119
HI
Can u tell me the difference between the Map & dictionary. I have searched most of the forums.
Jesper de Jong
Java Cowboy
Bartender

Joined: Aug 16, 2005
Posts: 12952
    
    3

It's the same thing - a data structure that lets you store values associated with keys.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Originally posted by Betsy Camel:
...I have searched most of the forums.

The place to look is the API.

Map is an interface, and Dictionary is a class. (Hashtable is a subclass of Dictionary and also implements Map.)


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Map & dictionary
 
Similar Threads
Dictionary
Translation and language comparison
NullPointerException problems in Main
WA #1.....word association
Historical Collection classes