File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -787,16 +787,16 @@ public void execute(Runnable command) {
787
787
788
788
使用原子的方式更新基本类型
789
789
790
- - ` AtomicInteger ` :整形原子类
790
+ - ` AtomicInteger ` :整型原子类
791
791
- ` AtomicLong ` :长整型原子类
792
792
- ` AtomicBoolean ` :布尔型原子类
793
793
794
794
** 数组类型**
795
795
796
796
使用原子的方式更新数组里的某个元素
797
797
798
- - ` AtomicIntegerArray ` :整形数组原子类
799
- - ` AtomicLongArray ` :长整形数组原子类
798
+ - ` AtomicIntegerArray ` :整型数组原子类
799
+ - ` AtomicLongArray ` :长整型数组原子类
800
800
- ` AtomicReferenceArray ` :引用类型数组原子类
801
801
802
802
** 引用类型**
@@ -807,8 +807,8 @@ public void execute(Runnable command) {
807
807
808
808
** 对象的属性修改类型**
809
809
810
- - ` AtomicIntegerFieldUpdater ` :原子更新整形字段的更新器
811
- - ` AtomicLongFieldUpdater ` :原子更新长整形字段的更新器
810
+ - ` AtomicIntegerFieldUpdater ` :原子更新整型字段的更新器
811
+ - ` AtomicLongFieldUpdater ` :原子更新长整型字段的更新器
812
812
- ` AtomicReferenceFieldUpdater ` :原子更新引用类型字段的更新器
813
813
814
814
### 5.3. 讲讲 AtomicInteger 的使用
You can’t perform that action at this time.
0 commit comments