Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
风中奇缘kb
CS-Notes
提交
efc0bcd1
C
CS-Notes
项目概览
风中奇缘kb
/
CS-Notes
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
CS-Notes
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
efc0bcd1
编写于
11月 20, 2020
作者:
C
CyC2018
提交者:
GitHub
11月 20, 2020
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1011 from qizhengzhong/master
文本小错误更改
上级
fb9f2a65
5ee7c7c7
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
8 addition
and
2 deletion
+8
-2
notes/Java 基础.md
notes/Java 基础.md
+1
-1
notes/Java 并发.md
notes/Java 并发.md
+1
-0
notes/Linux.md
notes/Linux.md
+5
-0
notes/设计模式 - 备忘录.md
notes/设计模式 - 备忘录.md
+1
-1
未找到文件。
notes/Java 基础.md
浏览文件 @
efc0bcd1
...
@@ -1400,7 +1400,7 @@ public class Box<T> {
...
@@ -1400,7 +1400,7 @@ public class Box<T> {
}
}
```
```
-
[
Java 泛型详解
](
http
://www.importnew.com/24029
.html
)
-
[
Java 泛型详解
](
http
s://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
)
## 十、注解
## 十、注解
...
...
notes/Java 并发.md
浏览文件 @
efc0bcd1
...
@@ -613,6 +613,7 @@ public static void main(String[] args) {
...
@@ -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
();
}
}
```
```
...
...
notes/Linux.md
浏览文件 @
efc0bcd1
...
@@ -1077,6 +1077,11 @@ dmtsai tty1 Fri May 29 11:55 - 12:11 (00:15)
...
@@ -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
```
```
可以根据字段的某些条件进行匹配,例如匹配字段小于某个值的那一行数据。
可以根据字段的某些条件进行匹配,例如匹配字段小于某个值的那一行数据。
...
...
notes/设计模式 - 备忘录.md
浏览文件 @
efc0bcd1
...
@@ -8,7 +8,7 @@
...
@@ -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>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录