Folks,
Being a Perl hacker, I'm having a bit of a hard time figuring out how to do some things in Java...
In Perl, I constantly use hashes of hashes to store lots of data in memory, in key-value pairs.
How do I do the same in Java? I kind of figured out how to add a Hashtable to another Hashtable, but is there any way to easily reference/look up a single item in the main Hashtable, sort of how you can use the -> operator in Perl?
Thanks.
Being a Perl hacker, I'm having a bit of a hard time figuring out how to do some things in Java...
In Perl, I constantly use hashes of hashes to store lots of data in memory, in key-value pairs.
How do I do the same in Java? I kind of figured out how to add a Hashtable to another Hashtable, but is there any way to easily reference/look up a single item in the main Hashtable, sort of how you can use the -> operator in Perl?
Thanks.