File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1400,7 +1400,7 @@ public class Box<T> {
14001400}
14011401```
14021402
1403- - [ Java 泛型详解] ( http ://www.importnew .com/24029 .html)
1403+ - [ Java 泛型详解] ( https ://www.cnblogs .com/Blue-Keroro/p/8875898 .html)
14041404- [ 10 道 Java 泛型面试题] ( https://cloud.tencent.com/developer/article/1033693 )
14051405
14061406## 十、注解
Original file line number Diff line number Diff line change @@ -613,6 +613,7 @@ public static void main(String[] args) {
613613 WaitNotifyExample example = new WaitNotifyExample ();
614614 executorService. execute(() - > example. after());
615615 executorService. execute(() - > example. before());
616+ executorService. shutdown();
616617}
617618```
618619
Original file line number Diff line number Diff line change @@ -1077,6 +1077,11 @@ dmtsai tty1 Fri May 29 11:55 - 12:11 (00:15)
10771077
10781078``` html
10791079$ last -n 5 | awk '{print $1 "\t" $3}'
1080+ dmtsai 192.168.1.100
1081+ dmtsai 192.168.1.100
1082+ dmtsai 192.168.1.100
1083+ dmtsai 192.168.1.100
1084+ dmtsai Fri
10801085```
10811086
10821087可以根据字段的某些条件进行匹配,例如匹配字段小于某个值的那一行数据。
Original file line number Diff line number Diff line change 88
99- Originator:原始对象
1010- Caretaker:负责保存好备忘录
11- - Memento:备忘录,存储原始对象的的状态 。备忘录实际上有两个接口,一个是提供给 Caretaker 的窄接口:它只能将备忘录传递给其它对象;一个是提供给 Originator 的宽接口,允许它访问到先前状态所需的所有数据。理想情况是只允许 Originator 访问本备忘录的内部状态。
11+ - Memento:备忘录,存储原始对象的状态 。备忘录实际上有两个接口,一个是提供给 Caretaker 的窄接口:它只能将备忘录传递给其它对象;一个是提供给 Originator 的宽接口,允许它访问到先前状态所需的所有数据。理想情况是只允许 Originator 访问本备忘录的内部状态。
1212
1313<div align =" center " > <img src =" https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/50678f34-694f-45a4-91c6-34d985c83fee.png " /> </div ><br >
1414
You can’t perform that action at this time.
0 commit comments