Results 1 to 3 of 3
  1. #1
    suresh.sa is offline Member
    Join Date
    Oct 2010
    Posts
    14
    Rep Power
    0

    Default Friends new to this forum

    hi,

    Can anyone tell me how to make an hashMap,a synchorized version. so that to avoid multithreading in hashmap contents

  2. #2
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,335
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by suresh.sa View Post
    hi,

    Can anyone tell me how to make an hashMap,a synchorized version. so that to avoid multithreading in hashmap contents
    Have a look at the Collections utility class; it can wrap your Map in a synchronized Map.

    kind regards,

    Jos

  3. #3
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. Hi friends
    By aditya in forum Introductions
    Replies: 1
    Last Post: 10-28-2008, 08:16 AM
  2. hello friends
    By amir_n in forum Introductions
    Replies: 1
    Last Post: 10-23-2008, 02:42 AM
  3. hello friends
    By ms987654321 in forum Web Frameworks
    Replies: 1
    Last Post: 07-19-2008, 02:11 PM
  4. Welcome to our new forum: Forum Lobby
    By JavaForums in forum Forum Lobby
    Replies: 18
    Last Post: 02-07-2008, 05:40 AM
  5. Hi Friends ,
    By Thulasiraman in forum Introductions
    Replies: 3
    Last Post: 01-23-2008, 05:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •