Why use map in ThreadLocal?

前端 未结 0 744
陌清茗
陌清茗 2021-01-29 14:08

Wanted to know if it\'s good practice to do that and what would be the best way to do that? In my opinion, the get()/put() method is more efficient. ArrayList/LinkedList is O(1)

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