当前位置: 代码迷 >> 综合 >> LIst集合线程安全实现
  详细解决方案

LIst集合线程安全实现

热度:7   发布时间:2024-01-28 08:15:53.0

直接上代码,目前没有找到比这性能更好的方法


List<String> safe = Collections.synchronizedList(new ArrayList<String>());

 

  相关解决方案