It's not a secret anymore!
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
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: 42965
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!