Skip to content

Commit 3a3cc6f

Browse files
committed
auto commit
1 parent c516a0c commit 3a3cc6f

6 files changed

Lines changed: 7 additions & 7 deletions

docs/notes/Java 容器.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
## Map
5454

55-
<div align="center"> <img src="pics/74727fa5-d971-4480-a9f1-eb12455a0f85.png"/> </div><br>
55+
<div align="center"> <img src="pics/88c37fb1-c619-47b0-8345-b1e5b442f50b.png"/> </div><br>
5656

5757
- TreeMap:基于红黑树实现。
5858

@@ -67,7 +67,7 @@
6767

6868
## 迭代器模式
6969

70-
<div align="center"> <img src="pics/45b69b1c-8e1d-40ec-a1dd-dd8f7d383f01.jpg"/> </div><br>
70+
<div align="center"> <img src="pics/e89848b7-5dc3-419d-ae88-4c930da13306.png"/> </div><br>
7171

7272
Collection 继承了 Iterable 接口,其中的 iterator() 方法能够产生一个 Iterator 对象,通过这个对象就可以迭代遍历 Collection 中的元素。
7373

docs/notes/Java 并发.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* [wait() notify() notifyAll()](#wait-notify-notifyall)
3232
* [await() signal() signalAll()](#await-signal-signalall)
3333
* [七、J.U.C - AQS](#七juc---aqs)
34-
* [CountdownLatch](#countdownlatch)
34+
* [CountDownLatch](#countdownlatch)
3535
* [CyclicBarrier](#cyclicbarrier)
3636
* [Semaphore](#semaphore)
3737
* [八、J.U.C - 其它组件](#八juc---其它组件)
@@ -86,7 +86,7 @@
8686
| --- | --- |
8787
| 没有设置 Timeout 参数的 Object.wait() 方法 | Object.notify() / Object.notifyAll() |
8888
| 没有设置 Timeout 参数的 Thread.join() 方法 | 被调用的线程执行完毕 |
89-
| LockSupport.park() 方法 | - |
89+
| LockSupport.park() 方法 | LockSupport.unpark(Thread) |
9090

9191
## 限期等待(Timed Waiting)
9292

@@ -105,8 +105,8 @@
105105
| Thread.sleep() 方法 | 时间结束 |
106106
| 设置了 Timeout 参数的 Object.wait() 方法 | 时间结束 / Object.notify() / Object.notifyAll() |
107107
| 设置了 Timeout 参数的 Thread.join() 方法 | 时间结束 / 被调用的线程执行完毕 |
108-
| LockSupport.parkNanos() 方法 | - |
109-
| LockSupport.parkUntil() 方法 | - |
108+
| LockSupport.parkNanos() 方法 | LockSupport.unpark(Thread) |
109+
| LockSupport.parkUntil() 方法 | LockSupport.unpark(Thread) |
110110

111111
## 死亡(Terminated)
112112

@@ -731,7 +731,7 @@ after
731731

732732
java.util.concurrent(J.U.C)大大提高了并发性能,AQS 被认为是 J.U.C 的核心。
733733

734-
## CountdownLatch
734+
## CountDownLatch
735735

736736
用来控制一个线程等待多个线程。
737737

23 KB
Loading
25 KB
Loading
23 KB
Loading
25 KB
Loading

0 commit comments

Comments
 (0)