Atomic 原子类详解

1.AtomicInteger、AtomicLong、AtomicBoolean、AtomicReference:基础 // atomicInteger:整型原子类 AtomicInteger atomicInteger = new AtomicInteger(0); atomicInteger.i
posted @ 2024-04-29 02:02  Yfeil  阅读(12)  评论(0编辑  收藏  举报