Meaningless Drivel is fun!
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 REST with Spring (video course) this week in the Spring 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: 42959
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 ]
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: hi
It's not a secret anymore!