auto commit
This commit is contained in:
parent
c516a0ca0c
commit
3a3cc6f803
@ -52,7 +52,7 @@
|
||||
|
||||
## Map
|
||||
|
||||
<div align="center"> <img src="pics/74727fa5-d971-4480-a9f1-eb12455a0f85.png"/> </div><br>
|
||||
<div align="center"> <img src="pics/88c37fb1-c619-47b0-8345-b1e5b442f50b.png"/> </div><br>
|
||||
|
||||
- TreeMap:基于红黑树实现。
|
||||
|
||||
@ -67,7 +67,7 @@
|
||||
|
||||
## 迭代器模式
|
||||
|
||||
<div align="center"> <img src="pics/45b69b1c-8e1d-40ec-a1dd-dd8f7d383f01.jpg"/> </div><br>
|
||||
<div align="center"> <img src="pics/e89848b7-5dc3-419d-ae88-4c930da13306.png"/> </div><br>
|
||||
|
||||
Collection 继承了 Iterable 接口,其中的 iterator() 方法能够产生一个 Iterator 对象,通过这个对象就可以迭代遍历 Collection 中的元素。
|
||||
|
||||
|
@ -31,7 +31,7 @@
|
||||
* [wait() notify() notifyAll()](#wait-notify-notifyall)
|
||||
* [await() signal() signalAll()](#await-signal-signalall)
|
||||
* [七、J.U.C - AQS](#七juc---aqs)
|
||||
* [CountdownLatch](#countdownlatch)
|
||||
* [CountDownLatch](#countdownlatch)
|
||||
* [CyclicBarrier](#cyclicbarrier)
|
||||
* [Semaphore](#semaphore)
|
||||
* [八、J.U.C - 其它组件](#八juc---其它组件)
|
||||
@ -86,7 +86,7 @@
|
||||
| --- | --- |
|
||||
| 没有设置 Timeout 参数的 Object.wait() 方法 | Object.notify() / Object.notifyAll() |
|
||||
| 没有设置 Timeout 参数的 Thread.join() 方法 | 被调用的线程执行完毕 |
|
||||
| LockSupport.park() 方法 | - |
|
||||
| LockSupport.park() 方法 | LockSupport.unpark(Thread) |
|
||||
|
||||
## 限期等待(Timed Waiting)
|
||||
|
||||
@ -105,8 +105,8 @@
|
||||
| Thread.sleep() 方法 | 时间结束 |
|
||||
| 设置了 Timeout 参数的 Object.wait() 方法 | 时间结束 / Object.notify() / Object.notifyAll() |
|
||||
| 设置了 Timeout 参数的 Thread.join() 方法 | 时间结束 / 被调用的线程执行完毕 |
|
||||
| LockSupport.parkNanos() 方法 | - |
|
||||
| LockSupport.parkUntil() 方法 | - |
|
||||
| LockSupport.parkNanos() 方法 | LockSupport.unpark(Thread) |
|
||||
| LockSupport.parkUntil() 方法 | LockSupport.unpark(Thread) |
|
||||
|
||||
## 死亡(Terminated)
|
||||
|
||||
@ -731,7 +731,7 @@ after
|
||||
|
||||
java.util.concurrent(J.U.C)大大提高了并发性能,AQS 被认为是 J.U.C 的核心。
|
||||
|
||||
## CountdownLatch
|
||||
## CountDownLatch
|
||||
|
||||
用来控制一个线程等待多个线程。
|
||||
|
||||
|
BIN
docs/notes/pics/88c37fb1-c619-47b0-8345-b1e5b442f50b.png
Normal file
BIN
docs/notes/pics/88c37fb1-c619-47b0-8345-b1e5b442f50b.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
BIN
docs/notes/pics/e89848b7-5dc3-419d-ae88-4c930da13306.png
Normal file
BIN
docs/notes/pics/e89848b7-5dc3-419d-ae88-4c930da13306.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
BIN
docs/pics/88c37fb1-c619-47b0-8345-b1e5b442f50b.png
Normal file
BIN
docs/pics/88c37fb1-c619-47b0-8345-b1e5b442f50b.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 23 KiB |
BIN
docs/pics/e89848b7-5dc3-419d-ae88-4c930da13306.png
Normal file
BIN
docs/pics/e89848b7-5dc3-419d-ae88-4c930da13306.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
Loading…
x
Reference in New Issue
Block a user