http://www.cnblogs.com/fnng/p/3415609.html P293——简介: TDD(Test-Drivern-Development)测试驱动开发 ATDD(Acceptance-Test-Drivern-Development)验收测试驱动开发 BDD(Behavio ...
分类:
编程语言 时间:
2019-06-05 09:30:01
阅读次数:
172
一,组件协作: Template Method Strategy Observer / Event 二,单一职责:解决类与类的责任划分问题 Decorator Bridge 三,对象创建: Factory Method Abstract Factory Prototype Builder 四,对象性 ...
分类:
其他好文 时间:
2019-06-04 22:36:02
阅读次数:
100
1 #include 2 3 int factorsum(int number); 4 void PrintPN(int m, int n); 5 6 int main() 7 { 8 int i, m, n; 9 10 scanf_s("%d %d", &m, &n); 11 if (factor... ...
分类:
其他好文 时间:
2019-06-02 11:48:35
阅读次数:
132
转自:https://blog.csdn.net/qq_41305266/article/details/81174782 一、隐藏秒杀地址 思路:秒杀开始前,先去请求接口获取秒杀地址 1.接口改造,带上PathVariable参数 2.添加生成地址的接口 3.秒杀收到请求,先验证PathVaria ...
分类:
编程语言 时间:
2019-06-01 19:34:25
阅读次数:
119
最近研究遥感,用到分类算法,PIE SDK正好提供了一些方法可供调用,他们的官方博客上也有相应的示例代码(可参考:https://www.cnblogs.com/PIESat/p/10725270.html)。但是,我在开发手册中发现了监督分类对话框类(SupervisedClassificaito ...
分类:
其他好文 时间:
2019-05-31 00:51:36
阅读次数:
119
Ugly Numbers UVA - 136 Ugly numbers are numbers whose only prime factors are 2, 3 or 5. The sequence 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, ...shows the ...
分类:
其他好文 时间:
2019-05-30 17:26:31
阅读次数:
118
统一资源定位符 Uniform Resource Locator URL Web上每个可访问文档在全球唯一的名字 HTTP请求无连接,请求完成后立即断开 双因素认证 two factor authentication 两个独立的因素用于识别一个用户(两个因素不能具有同样的弱点,比如都是密码) 使用双 ...
分类:
数据库 时间:
2019-05-29 13:00:49
阅读次数:
121
using System; using System.Collections.Generic; using System.Linq; namespace Validation // include rules in the domain that may vary from instance to ... ...
分类:
其他好文 时间:
2019-05-25 19:36:22
阅读次数:
84
方法分析(1) org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(String) -——>org.springframework.beans.factory.support.Defa ...
分类:
其他好文 时间:
2019-05-25 16:56:47
阅读次数:
94
线程池优点: 降低资源消耗,通过重复利用已经创建的线程减低线程的创建和销毁造成的消耗 提高响应速度,当任务达到时,任务可以不需要等到线程创建就能够立即执行 提高线程的可管理性,线程时消耗资源,如果无限制的创建,不仅会消耗系统资源,还会降低系统稳定性,因此使用线程池统一管理分配 创建和使用线程池 使用 ...
分类:
编程语言 时间:
2019-05-24 14:15:21
阅读次数:
143