This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes hi 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 » Java » Java in General
Bookmark "hi" Watch "hi" New topic
Author

hi

vijay kumar
Ranch Hand

Joined: Nov 10, 2006
Posts: 62
Is there a data structure in Java equivalent to the hash in Perl?

i want to convert perl script to java coding......
pls help me if u now......
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41062
    
  43
Have a look at the java.util.Map interface and its various implementations, especially java.util.HashMap.

In the future, please UseAMeaningfulSubjectLine that indicates what the question is about.
[ November 27, 2006: Message edited by: Ulf Dittmer ]

Ping & DNS - my free Android networking tools app
 
Don't get me started about those stupid light bulbs.
 
subject: hi
 
Similar Threads
WA #1.....word association
Perl + JMS ?
Perl and Java
Is there a data structure in Java equivalent to the hash in Perl?
session never expires in javaranch