Fork me on GitHub
上一页 1 ··· 76 77 78 79 80 81 82 83 84 ··· 94 下一页
摘要: 定义 迭代器模式(Iterator Pattern)是使用率最高的几个模式之一,被广泛地应用到Java的API中。例如:Java的集合(Collection)框架中,就广泛使用迭代器来遍历集合中元素。 英文原话:Provide a way to access the elements of an a 阅读全文
posted @ 2018-04-23 07:48 秋夜雨巷 阅读(250) 评论(0) 推荐(0)
摘要: 官网下载文件 https://archive.apache.org/dist/tomcat/tomcat-7/v7.0.54/bin/ 文中CentOS使用apache-tomcat-7.0.54.tar.gz,windows需要注册为服务时下载exe文件。 解压缩 # mkdir /usr/loc 阅读全文
posted @ 2018-04-21 15:28 秋夜雨巷 阅读(668) 评论(0) 推荐(0)
摘要: 关闭SELINUX ##查看SELINUX状态 /usr/sbin/sestatus -v getenforce #修改config配置文件,重启后即可 vi /etc/selinux/config #SELINUX=enforcing改为SELINUX=disabled #临时关闭(不用重启机器) 阅读全文
posted @ 2018-04-20 20:51 秋夜雨巷 阅读(1132) 评论(0) 推荐(0)
摘要: 定义 策略模式(Strategy Pattern)也叫政策模式,是一种比较简单的模式。 英文原话:Define a family of algorithms,encapsulate each one,and make them interchangeable. 翻译:定义一组算法,将每个算法都封装起 阅读全文
posted @ 2018-04-20 15:00 秋夜雨巷 阅读(344) 评论(0) 推荐(0)
摘要: 定义 责任链模式(Chain of Responsibility Pattern)是一种常见的行为模式。 责任链模式英文原话是:Avoid coupling the sender of a request to its receiver by giving more than one object 阅读全文
posted @ 2018-04-20 11:22 秋夜雨巷 阅读(12483) 评论(0) 推荐(2)
摘要: Linux环境、IP配置 阅读全文
posted @ 2018-04-19 14:47 秋夜雨巷 阅读(109303) 评论(2) 推荐(16)
摘要: 定义 命令模式(Command Pattern)又称为行动(Action)模式或者交易(Transaction)模式。 英文原话:Encapsulate a request as an object,thereby letting you parameterize clients with diff 阅读全文
posted @ 2018-04-19 11:39 秋夜雨巷 阅读(314) 评论(0) 推荐(0)
摘要: 官网下载windos版docker。 安装完之后出现 其中Vbox是虚拟机,和VMWare不同的是,这个是开源免费的。第二个是docker的工具。 启动Kitematic会在Vbox中自动建一个虚拟机 Kitematic打开界面看到的每一个都是镜像文件,可以自行搜索镜像文件,点击create后会自动 阅读全文
posted @ 2018-04-18 17:11 秋夜雨巷 阅读(222) 评论(0) 推荐(0)
摘要: 行为型模式(Behavioral Pattern)是对不同的对象之间划分责任和算法的抽象化。行为型模式包括11种模式:模板方法模式、命令模式、责任链模式、策略模式、迭代器模式、中介者模式、观察者模式、备忘录模式、访问者模式、状态模式、解释器模式。 定义 模板方法模式(Template Method 阅读全文
posted @ 2018-04-18 10:31 秋夜雨巷 阅读(215) 评论(0) 推荐(0)
摘要: Itext5为PDF添加水印 阅读全文
posted @ 2018-04-16 17:04 秋夜雨巷 阅读(982) 评论(0) 推荐(0)
上一页 1 ··· 76 77 78 79 80 81 82 83 84 ··· 94 下一页