Shyam, I meant to say HashMap is not thread safe but HashTable is
thread safe.
But there is a way to make the HashMap thread safe :
Hashmap map = Collections.synchronizedMap(new HashMap(..))
There is another difference HashMap and HashTable is allowing null
values. HashTable doesn't allow null values as a key or a value.
Correct me if I am wrong here.
-- SURI
On Jul 13, 8:04 am, Shyam Prakash Velupula <
velup...@gmail.com> wrote:
> Suresh,
>
> Does HashMap handle queries in async fashion?
>
> - Shyam
>