Ensure thread safety with static final map

前端 未结 0 415
面向向阳花
面向向阳花 2021-02-01 10:54

I have created a map to keep track of data

public class {

  private static final Map map = new HashMap();

  public S         


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