This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "hi" Watch "hi" New topic


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

Joined: Mar 22, 2005
Posts: 42958
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 ]
I agree. Here's the link:
subject: hi
It's not a secret anymore!