SynchronizedList给List加锁 Published on May 18, 2020 in Java with 0 comment List strs = new ArrayList<>(); List strsSync = Collections.synchronizedList(strs); 可达到线程安全 本文由 admin 创作,采用 知识共享署名4.0 国际许可协议进行许可。本站文章除注明转载/出处外,均为本站原创或翻译,转载前请务必署名。