Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ef0180f

Browse filesBrowse files
committed
auto commit
1 parent 4891423 commit ef0180f
Copy full SHA for ef0180f

File tree

Expand file treeCollapse file tree

4 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+3
-3
lines changed

‎notes/Java 并发.md

Copy file name to clipboardExpand all lines: notes/Java 并发.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ run..run..run..run..run..run..run..run..run..run..end
766766

767767
用来控制多个线程互相等待,只有当多个线程都到达时,这些线程才会继续执行。
768768

769-
和 CountdownLatch 相似,都是通过维护计数器来实现的。线程执行 await() 方法之后计数器会减 1,并进行等待,直到计数器为 0,所有调用 awati() 方法而在等待的线程才能继续执行。
769+
和 CountdownLatch 相似,都是通过维护计数器来实现的。线程执行 await() 方法之后计数器会减 1,并进行等待,直到计数器为 0,所有调用 await() 方法而在等待的线程才能继续执行。
770770

771771
CyclicBarrier 和 CountdownLatch 的一个区别是,CyclicBarrier 的计数器通过调用 reset() 方法可以循环使用,所以它才叫做循环屏障。
772772

‎notes/设计模式.md

Copy file name to clipboardExpand all lines: notes/设计模式.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2578,7 +2578,7 @@ public class Client {
25782578

25792579
组合对象拥有一个或者多个组件对象,因此组合对象的操作可以委托给组件对象去处理,而组件对象可以是另一个组合对象或者叶子对象。
25802580

2581-
<div align="center"> <img src="../pics//3fb5b255-b791-45b6-8754-325c8741855a.png"/> </div><br>
2581+
<div align="center"> <img src="../pics//77931a4b-72ba-4016-827d-84b9a6845a51.png"/> </div><br>
25822582

25832583
### Implementation
25842584

‎notes/重构.md

Copy file name to clipboardExpand all lines: notes/重构.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ class App {
383383

384384
## 重构与性能
385385

386-
为了使代码更容易理解,重构可能会导致性能减低。
386+
为了软代码更容易理解,重构可能会导致性能减低。
387387

388388
在编写代码时,不用对性能过多关注,只有在最后性能优化阶段再考虑性能问题。
389389

30 KB
Loading

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.