thread safe map for java
<p>i need a thread safe map, i have something like this: (i'm very new to java)</p>

<pre><code> public static class Manager
        {
        static 
        {
//something wrong here, doesn't compile
           list = new java.util.Collections
          .synchronizedMap(new Map&lt;String, Client&gt;());
        }

       static Map&lt;String,Client&gt; list;

        public static void AddClient(Client client)
        {
        // thread safe add client to the list
        }

        public static void RemoveClient(Client client)
        {
        // thread safe remove client to the list
        }

        }
</code></pre>
