Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Map & dictionary

 
Betsy Camel
Ranch Hand
Posts: 119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI
Can u tell me the difference between the Map & dictionary. I have searched most of the forums.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15485
43
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's the same thing - a data structure that lets you store values associated with keys.
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic