Merge pull request #1011 from qizhengzhong/master

文本小错误更改
This commit is contained in:
CyC2018 2020-11-20 01:42:38 +08:00 committed by GitHub
commit efc0bcd1d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 2 deletions

View File

@ -1400,7 +1400,7 @@ public class Box<T> {
} }
``` ```
- [Java 泛型详解](http://www.importnew.com/24029.html) - [Java 泛型详解](https://www.cnblogs.com/Blue-Keroro/p/8875898.html)
- [10 Java 泛型面试题](https://cloud.tencent.com/developer/article/1033693) - [10 Java 泛型面试题](https://cloud.tencent.com/developer/article/1033693)
## 注解 ## 注解

View File

@ -613,6 +613,7 @@ public static void main(String[] args) {
WaitNotifyExample example = new WaitNotifyExample(); WaitNotifyExample example = new WaitNotifyExample();
executorService.execute(() -> example.after()); executorService.execute(() -> example.after());
executorService.execute(() -> example.before()); executorService.execute(() -> example.before());
executorService.shutdown();
} }
``` ```

View File

@ -1077,6 +1077,11 @@ dmtsai tty1 Fri May 29 11:55 - 12:11 (00:15)
```html ```html
$ last -n 5 | awk '{print $1 "\t" $3}' $ last -n 5 | awk '{print $1 "\t" $3}'
dmtsai 192.168.1.100
dmtsai 192.168.1.100
dmtsai 192.168.1.100
dmtsai 192.168.1.100
dmtsai Fri
``` ```
可以根据字段的某些条件进行匹配例如匹配字段小于某个值的那一行数据 可以根据字段的某些条件进行匹配例如匹配字段小于某个值的那一行数据

View File

@ -8,7 +8,7 @@
- Originator原始对象 - Originator原始对象
- Caretaker负责保存好备忘录 - Caretaker负责保存好备忘录
- Memento备忘录存储原始对象的状态备忘录实际上有两个接口一个是提供给 Caretaker 的窄接口它只能将备忘录传递给其它对象一个是提供给 Originator 的宽接口允许它访问到先前状态所需的所有数据理想情况是只允许 Originator 访问本备忘录的内部状态 - Memento备忘录存储原始对象的状态备忘录实际上有两个接口一个是提供给 Caretaker 的窄接口它只能将备忘录传递给其它对象一个是提供给 Originator 的宽接口允许它访问到先前状态所需的所有数据理想情况是只允许 Originator 访问本备忘录的内部状态
<div align="center"> <img src="https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/50678f34-694f-45a4-91c6-34d985c83fee.png"/> </div><br> <div align="center"> <img src="https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/50678f34-694f-45a4-91c6-34d985c83fee.png"/> </div><br>