Skip to content

Commit 483011f

Browse files
authored
Merge pull request Snailclimb#1635 from VerneZhong/patch-2
错别字修改
2 parents a8574e0 + 603992e commit 483011f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/java/concurrent/java-concurrent-questions-02.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -787,16 +787,16 @@ public void execute(Runnable command) {
787787

788788
使用原子的方式更新基本类型
789789

790-
- `AtomicInteger`整形原子类
790+
- `AtomicInteger`整型原子类
791791
- `AtomicLong`:长整型原子类
792792
- `AtomicBoolean`:布尔型原子类
793793

794794
**数组类型**
795795

796796
使用原子的方式更新数组里的某个元素
797797

798-
- `AtomicIntegerArray`整形数组原子类
799-
- `AtomicLongArray`长整形数组原子类
798+
- `AtomicIntegerArray`整型数组原子类
799+
- `AtomicLongArray`长整型数组原子类
800800
- `AtomicReferenceArray`:引用类型数组原子类
801801

802802
**引用类型**
@@ -807,8 +807,8 @@ public void execute(Runnable command) {
807807

808808
**对象的属性修改类型**
809809

810-
- `AtomicIntegerFieldUpdater`原子更新整形字段的更新器
811-
- `AtomicLongFieldUpdater`原子更新长整形字段的更新器
810+
- `AtomicIntegerFieldUpdater`原子更新整型字段的更新器
811+
- `AtomicLongFieldUpdater`原子更新长整型字段的更新器
812812
- `AtomicReferenceFieldUpdater`:原子更新引用类型字段的更新器
813813

814814
### 5.3. 讲讲 AtomicInteger 的使用

0 commit comments

Comments
 (0)