I\'ve got some questions about Java\'s assigment.
I\'ve got a class:
public class Test {
private String s;
public synchro
Rather than wrapping your HashMap in something to make it synchronized, consider using a java.util.concurrency.ConcurrentHashMap instead.
This is an updated version of HashMap that guarantees "Retrievals reflect the results of the most recently completed update operations holding upon their onset.".