• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can anybody tell about map in java

 
vijayakumar durai
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anybody tell about what is the use of map? how to create map in java?
if there is any tutorial give to me

thanks in advance
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Map is an interface in java.util package. Map
 
rakesh sugirtharaj
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A Map, simply put, is like a telephone directory. You have the name(key) and number(value). When you want to search for a number(value) you look up the name(key). Makes sense?
 
Aniruddh Joshi
Ranch Hand
Posts: 275
Eclipse IDE jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can read the javadoc here
 
Campbell Ritchie
Sheriff
Pie
Posts: 49361
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need a trip to the Java Tutorials. There is a section about Maps in that part.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic