From 603992ebfa9bee6a4bea78f69689fca3006fd205 Mon Sep 17 00:00:00 2001 From: "Verne.Chung" Date: Tue, 22 Mar 2022 09:57:37 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=99=E5=88=AB=E5=AD=97=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/java/concurrent/java-concurrent-questions-02.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/java/concurrent/java-concurrent-questions-02.md b/docs/java/concurrent/java-concurrent-questions-02.md index 4936cb02..bf6c1117 100644 --- a/docs/java/concurrent/java-concurrent-questions-02.md +++ b/docs/java/concurrent/java-concurrent-questions-02.md @@ -787,7 +787,7 @@ public void execute(Runnable command) { 使用原子的方式更新基本类型 -- `AtomicInteger`:整形原子类 +- `AtomicInteger`:整型原子类 - `AtomicLong`:长整型原子类 - `AtomicBoolean`:布尔型原子类 @@ -795,8 +795,8 @@ public void execute(Runnable command) { 使用原子的方式更新数组里的某个元素 -- `AtomicIntegerArray`:整形数组原子类 -- `AtomicLongArray`:长整形数组原子类 +- `AtomicIntegerArray`:整型数组原子类 +- `AtomicLongArray`:长整型数组原子类 - `AtomicReferenceArray`:引用类型数组原子类 **引用类型** @@ -807,8 +807,8 @@ public void execute(Runnable command) { **对象的属性修改类型** -- `AtomicIntegerFieldUpdater`:原子更新整形字段的更新器 -- `AtomicLongFieldUpdater`:原子更新长整形字段的更新器 +- `AtomicIntegerFieldUpdater`:原子更新整型字段的更新器 +- `AtomicLongFieldUpdater`:原子更新长整型字段的更新器 - `AtomicReferenceFieldUpdater`:原子更新引用类型字段的更新器 ### 5.3. 讲讲 AtomicInteger 的使用