桥接模式(Bridge) 设计模式使用的例子https://github.com/LinkinStars/DesignPatternsAllExample 一、定义 将抽象部分与其实现部分分离,使得他们都可以独立地变化。它是一种对象结构型模式,又称为接口模式。 二、结构 Abstraction(抽象 ...
分类:
其他好文 时间:
2017-11-04 18:10:21
阅读次数:
160
组合模式(Composite) 设计模式使用的例子https://github.com/LinkinStars/DesignPatternsAllExample 一、定义 组合多个对象形成树形结构以表示具有“整体-部分”关系的层次结构。 组合模式对单个对象(即叶子对象)和组合对象(即容器对象)的使用 ...
分类:
其他好文 时间:
2017-10-29 17:32:00
阅读次数:
119
[poj 2482] Stars in Your Window Time Limit: 1000MS Memory Limit: 65536K Time Limit: 1000MS Memory Limit: 65536K Description Fleeting time does not blu ...
题目链接:https://vjudge.net/problem/ZOJ-3261 In order to strengthen the defense ability, many stars in galaxy allied together and built many bidirectional ...
分类:
其他好文 时间:
2017-10-14 16:46:08
阅读次数:
182
October cms是开发非常方便的二次开发,与laraval框架一样高效便捷; Github上stars数前三的PHP CMS系统有哪些? 答1:WordPress! 对!它有7500个stars,但是它在Github上只是SVN同步源。答2:Drupal! 对!它排第三,有2250个stars ...
分类:
其他好文 时间:
2017-10-13 00:44:18
阅读次数:
601
Dancing Stars on Me Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 2002 Accepted Submission(s) ...
分类:
其他好文 时间:
2017-10-08 14:46:48
阅读次数:
186
使用 Ubuntu 官方镜像 Ubuntu 相关的镜像有很多,这里使用 -s 10 参数,只搜索那些被收藏 10 次以上的镜像 注意,Docker 1.12 版本中已经不支持 --stars 参数,则可以使用 -f stars=N 参数。 根据搜索出来的结果,读者可以自行选择下载镜像并使用。 下面以 ...
分类:
系统相关 时间:
2017-10-05 15:40:44
阅读次数:
310
If you want to fly too high in relation to the horizon forget.要想飞得高,就该把地平线忘掉。Always keep our eyes looking on the stars with our feet on the solid grou ...
分类:
其他好文 时间:
2017-10-04 23:57:15
阅读次数:
413
If you want to fly too high in relation to the horizon forget. 要想飞得高,就该把地平线忘掉。 Always keep our eyes looking on the stars with our feet on the solid gr ...
分类:
其他好文 时间:
2017-10-04 00:16:45
阅读次数:
168
1.字典实例:建立学生学号成绩字典,做增删改查遍历操作 2.列表,元组,字典,集合的遍历。 总结列表,元组,字典,集合的联系与区别。 列表:特点就是:可重复,类型可不同。类型不同也是跟数组最本质的区别了。python里的列表用“[]”表示。 元组:元组和列表在结构上没有什么区别,唯一的差异在于元组是 ...
分类:
其他好文 时间:
2017-09-26 21:20:25
阅读次数:
272