thread safe map for java

前端 未结 7 815
忘掉有多难
忘掉有多难 2020-12-09 14:44

i need a thread safe map, i have something like this: (i\'m very new to java)

 public static class Manager
        {
        static 
        {
//something wr         


        
相关标签:
7条回答
  • 2020-12-09 15:18

    java.util.concurrent.ConcurrentHashMap

    0 讨论(0)
提交回复
热议问题