Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ConcurrentHashMap vs Hashtable

JavaFundaJul 18 2011 — edited Jul 18 2011
ConcusrrentHashMap vs Hashtable

As per my understanding ConcusrrentHashMap provides all the features of hashtable. On top of that it provide extra important feature that Retrieval operations (including get) generally do not block, so may overlap with update operations (including put and remove).

So can anybody give a example where we hashtable can not be replace by ConcusrrentHashMap
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 15 2011
Added on Jul 18 2011
3 comments
123 views