上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: 19:50:31 《UML 模式和应用》 P322 系统需要支持多种第三方外部服务,例如费用计算,授权服务,库存系统,都具有不同的API, 而且还无法改变。 解决方案之一: 使用 单例模式的工厂对象,适配提供服务 1 ) Adapter 增加一层间接性对象,通过这些对象将不同的外部接口调整为在应用程 阅读全文
posted @ 2019-09-01 21:23 君子之行 阅读(161) 评论(0) 推荐(0)
摘要: 17:57:19 Junit Rule 1. global timeout @Rulepublic MethodRule globalTimeOut = new Timeout(20) 2. ExpectedException@Rulepublic ExceptedException 3.Tempo 阅读全文
posted @ 2019-08-31 17:59 君子之行 阅读(10) 评论(0) 推荐(0)
摘要: 14:45:45 Web front_programming Baidu Echart https://echarts.baidu.com/tutorial.html#5%20%E5%88%86%E9%92%9F%E4%B8%8A%E6%89%8B%20ECharts 阅读全文
posted @ 2019-08-28 14:47 君子之行 阅读(9) 评论(0) 推荐(0)
摘要: 21:10:00 1. Optional<T> 容器类, 代表一个值存在与否1. isPresent(): optional 存在值时返回true, 否则返回 false2. ifPresent(Consumer<T> block) 会在值存在的时候执行给定的代码块,(Consumer接口:传递一个 阅读全文
posted @ 2019-08-26 21:37 君子之行 阅读(8) 评论(0) 推荐(0)
摘要: 11:14:43 1 config VS2010 Nunit3 https://nunit.org/index.php/?p=download https://github.com/nunit/nunit/releases/tag/v3.12 2 Moq install https://code.g 阅读全文
posted @ 2019-08-26 13:31 君子之行 阅读(10) 评论(0) 推荐(0)
摘要: 2019-08-24 Log4j2 配置 1 注解 Log 2. 实现 MethodInterceptor LogInterceptor.java 3. binding LogModule Matchers 简单的接口, 用来表示是否匹配, 一个表示参与的类, 一个表示相关的方法。 匹配方法: 4 阅读全文
posted @ 2019-08-24 18:19 君子之行 阅读(11) 评论(0) 推荐(0)
摘要: 20:45:26 设置线程池,最大限度利用资源 参考 https://www.cnblogs.com/baidawei/p/9447737.html 阅读全文
posted @ 2019-08-18 20:47 君子之行 阅读(9) 评论(0) 推荐(0)
摘要: 11:14:18 阅读全文
posted @ 2019-08-15 11:15 君子之行 阅读(8) 评论(0) 推荐(0)
摘要: 11:12:58 阅读全文
posted @ 2019-08-15 11:14 君子之行 阅读(9) 评论(0) 推荐(0)
摘要: 11:10:50 idea key 阅读全文
posted @ 2019-08-15 11:13 君子之行 阅读(7) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页