File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Atomic 翻译成中文是原子的意思。在化学上,我们知道原子是
2020
2121使用原子的方式更新基本类型
2222
23- - AtomicInteger:整形原子类
23+ - AtomicInteger:整型原子类
2424- AtomicLong:长整型原子类
2525- AtomicBoolean :布尔型原子类
2626
@@ -29,8 +29,8 @@ Atomic 翻译成中文是原子的意思。在化学上,我们知道原子是
2929使用原子的方式更新数组里的某个元素
3030
3131
32- - AtomicIntegerArray:整形数组原子类
33- - AtomicLongArray:长整形数组原子类
32+ - AtomicIntegerArray:整型数组原子类
33+ - AtomicLongArray:长整型数组原子类
3434- AtomicReferenceArray :引用类型数组原子类
3535
3636** 引用类型**
@@ -41,8 +41,8 @@ Atomic 翻译成中文是原子的意思。在化学上,我们知道原子是
4141
4242** 对象的属性修改类型**
4343
44- - AtomicIntegerFieldUpdater:原子更新整形字段的更新器
45- - AtomicLongFieldUpdater:原子更新长整形字段的更新器
44+ - AtomicIntegerFieldUpdater:原子更新整型字段的更新器
45+ - AtomicLongFieldUpdater:原子更新长整型字段的更新器
4646- AtomicStampedReference :原子更新带有版本号的引用类型。该类将整数值与引用关联起来,可用于解决原子的更新数据和数据的版本号,可以解决使用 CAS 进行原子更新时可能出现的 ABA 问题。
4747
4848下面我们来详细介绍一下这些原子类。
@@ -53,7 +53,7 @@ Atomic 翻译成中文是原子的意思。在化学上,我们知道原子是
5353
5454使用原子的方式更新基本类型
5555
56- - AtomicInteger:整形原子类
56+ - AtomicInteger:整型原子类
5757- AtomicLong:长整型原子类
5858- AtomicBoolean :布尔型原子类
5959
You can’t perform that action at this time.
0 commit comments