aspose file tools*
The moose likes Beginning Java and the fly likes can anybody tell about map in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "can anybody tell about map in java" Watch "can anybody tell about map in java" New topic
Author

can anybody tell about map in java

vijayakumar durai
Ranch Hand

Joined: Aug 18, 2008
Posts: 153
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

Joined: Nov 21, 2007
Posts: 349

Map is an interface in java.util package. Map


Ananth Chellathurai [Walk on software]
rakesh sugirtharaj
Ranch Hand

Joined: Dec 16, 2007
Posts: 151
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?


Cheers!
RSR
Aniruddh Joshi
Ranch Hand

Joined: Jul 29, 2008
Posts: 275

you can read the javadoc here


Anrd
"One of the best things you could do is to simplify a larger application into a smaller one by reducing its process and complexity - Fowler"
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39393
    
  28
You need a trip to the Java Tutorials. There is a section about Maps in that part.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can anybody tell about map in java