AtomicInteger in Java

前端 未结 0 1966
情话喂你
情话喂你 2021-01-13 01:23

The class AtomicInteger permits to modify a variable in an atomic way, and the method set() has an happens-before relationship with the subsequent calls to the get() method.

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