GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix[java juc atomic]: update correct words · chb-haha/JavaGuide@8493a00

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • docs/java/Multithread
    • Atomic.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎docs/java/Multithread/Atomic.md‎

Copy file name to clipboardExpand all lines: docs/java/Multithread/Atomic.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Atomic 翻译成中文是原子的意思。在化学上,我们知道原子是
3636
**引用类型**
3737

3838
- AtomicReference:引用类型原子类
39-
- AtomicStampedRerence:原子更新引用类型里的字段原子类
39+
- AtomicStampedReference:原子更新引用类型里的字段原子类
4040
- AtomicMarkableReference :原子更新带有标记位的引用类型
4141

4242
**对象的属性修改类型**
@@ -210,7 +210,7 @@ public class AtomicIntegerArrayTest {
210210
基本类型原子类只能更新一个变量,如果需要原子更新多个变量,需要使用 引用类型原子类。
211211

212212
- AtomicReference:引用类型原子类
213-
- AtomicStampedRerence:原子更新引用类型里的字段原子类
213+
- AtomicStampedReference:原子更新引用类型里的字段原子类
214214
- AtomicMarkableReference :原子更新带有标记位的引用类型
215215

216216
上面三个类提供的方法几乎相同,所以我们这里以 AtomicReference 为例子来介绍。

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.