aspose file tools*
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
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: 41872
    
  63
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: hi