How to add a thread safe method to synchronizedList?

前端 未结 0 872
时光说笑
时光说笑 2021-01-29 20:03
public class ListHelper {
    private final List list= Collections.synchronizedList(new ArrayList<>());

            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题