gudii9
asked on
concurrenthasmap and ConcurrentModificationException
Hi,
How is ConcurrentHashMap different from Map and HashMap. Waht are advantages, disadvantages, practical uses of each of them. what is ConcurrentModificationExce ption.
please advise
Any links resources ideas highly appreciated. Thanks in advance
How is ConcurrentHashMap different from Map and HashMap. Waht are advantages, disadvantages, practical uses of each of them. what is ConcurrentModificationExce
please advise
Any links resources ideas highly appreciated. Thanks in advance
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hashtable also allows multiple threads. So to use ConcurrentHashMap do we need Hash map for sure. Cannot we use ConcurrentHashMap independently. Is there is any simple example on ConcurrentHashMap usage. please advise
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I read this interesting link
http://blog.manishchhabra.com/2012/08/the-5-main-differences-betwen-hashmap-and-hashtable/
http://blog.manishchhabra.com/2012/08/the-5-main-differences-betwen-hashmap-and-hashtable/
It's really an amazing addition to the Java language.
Doug