File tree 4 files changed +8
-2
lines changed
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> {
1400
1400
}
1401
1401
```
1402
1402
1403
- - [ Java 泛型详解] ( http ://www.importnew .com/24029 .html)
1403
+ - [ Java 泛型详解] ( https ://www.cnblogs .com/Blue-Keroro/p/8875898 .html)
1404
1404
- [ 10 道 Java 泛型面试题] ( https://cloud.tencent.com/developer/article/1033693 )
1405
1405
1406
1406
## 十、注解
Original file line number Diff line number Diff line change @@ -613,6 +613,7 @@ public static void main(String[] args) {
613
613
WaitNotifyExample example = new WaitNotifyExample ();
614
614
executorService. execute(() - > example. after());
615
615
executorService. execute(() - > example. before());
616
+ executorService. shutdown();
616
617
}
617
618
```
618
619
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)
1077
1077
1078
1078
``` html
1079
1079
$ 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
1080
1085
```
1081
1086
1082
1087
可以根据字段的某些条件进行匹配,例如匹配字段小于某个值的那一行数据。
Original file line number Diff line number Diff line change 8
8
9
9
- Originator:原始对象
10
10
- Caretaker:负责保存好备忘录
11
- - Memento:备忘录,存储原始对象的的状态 。备忘录实际上有两个接口,一个是提供给 Caretaker 的窄接口:它只能将备忘录传递给其它对象;一个是提供给 Originator 的宽接口,允许它访问到先前状态所需的所有数据。理想情况是只允许 Originator 访问本备忘录的内部状态。
11
+ - Memento:备忘录,存储原始对象的状态 。备忘录实际上有两个接口,一个是提供给 Caretaker 的窄接口:它只能将备忘录传递给其它对象;一个是提供给 Originator 的宽接口,允许它访问到先前状态所需的所有数据。理想情况是只允许 Originator 访问本备忘录的内部状态。
12
12
13
13
<div align =" center " > <img src =" https://cs-notes-1256109796.cos.ap-guangzhou.myqcloud.com/50678f34-694f-45a4-91c6-34d985c83fee.png " /> </div ><br >
14
14
You can’t perform that action at this time.
0 commit comments