[thelist] Java Arrays
Rob Whitener
rwhitener at DesignOptions.com
Tue Mar 11 14:08:38 CST 2003
Thanks for the clarification. I searched for hash on google instead of
hashmap.
-----Original Message-----
From: Hassan Schroeder [mailto:hassan at webtuitive.com]
Sent: Tuesday, March 11, 2003 2:23 PM
To: evolt.org mailing list devoted to the web
Subject: Re: [thelist] Java Arrays
Rob Whitener wrote:
> A hashmap might also help:
>
> http://www.linuxgazette.com/issue57/tindale.html This lets you store data
> and index it using a key. However, java determines the key from the data
> you are trying to store, so you can't actually assign a string index for
> data.
> Hope this helps, and isn't horribly late.
Well, dunno about late, but it's wrong :-)
The article above is about java.util.HashTable -- which does have
key constraints -- as opposed to java.util.HashMap, which allows
any kind of object, including strings, to be either key or value.
FWIW!
--
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
dream. code.
--
* * Please support the community that supports you. * *
http://evolt.org/help_support_evolt/
For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !
More information about the thelist
mailing list