标签:string highlight ble pre 同步 object 并发容器 并发 zed
同步容器:
//Vector ArrayList CopyOnWriteArrayList ArrayList<String> s=new ArrayList<>(); Collections.synchronizedList(s); //Hashtable HashMap ConcurrentHashMap HashMap<String, Object> resHashMap=new HashMap<>(); Collections.synchronizedMap(resHashMap); }
标签:string highlight ble pre 同步 object 并发容器 并发 zed
原文地址:https://www.cnblogs.com/sunliyuan/p/11185263.html