摘要:
package num10;import java.util.HashMap;import java.util.Map;import java.util.concurrent.locks.Lock;import java.util.concurrent.locks.ReentrantReadWriteLock;// java 读写锁class M{ private static Map<Integer, String> map = new HashMap<Integer, String>(); private static M m = new M(map); publi 阅读全文