List<String> strs = new ArrayList<>();
List<String> strsSync = Collections.synchronizedList(strs);
转载于:https://my.oschina.net/u/4131327/blog/3075644
List<String> strs = new ArrayList<>();
List<String> strsSync = Collections.synchronizedList(strs);
转载于:https://my.oschina.net/u/4131327/blog/3075644