单一职责原则 Single Responsibility Principle 备受争议的原则,原因在于对职责的定义以及职责的划分 适用于接口,类,方法 定义:There should never be more than one reason for a class to change 应该有且仅有 ...
分类:
其他好文 时间:
2019-01-01 16:14:37
阅读次数:
197
参考 文档: "28.4 Embedded Servlet Container Support" ...
分类:
移动开发 时间:
2019-01-01 14:03:08
阅读次数:
160
Spring 注解驱动(一)基本使用规则 __Spring 系列目录()__ 一、基本使用 启动测试: 二、@ComponentScan 自定义的包扫描如下: 三、@Conditional 四、@Import 给容器中注册组件有以下方式: 1. @Bean 2. 包扫描(@ComponentScan ...
分类:
编程语言 时间:
2018-12-31 22:45:37
阅读次数:
172
1.1 Introduction 1.2 Single Dimensional Gaussian 1.2.1 1D Gaussian Distribution yellow ball example: 使用高斯模型来描述HSV空间的H通道中,某个像素是否属于黄色球的概率。 Advantage:onl ...
分类:
其他好文 时间:
2018-12-31 17:27:47
阅读次数:
256
原文连接: "使用Java Socket手撸一个http服务器" 作为一个java后端,提供http服务可以说是基本技能之一了,但是你真的了解http协议么?你知道知道如何手撸一个http服务器么?tomcat的底层是怎么支持http服务的呢?大名鼎鼎的Servlet又是什么东西呢,该怎么使用呢? ...
分类:
编程语言 时间:
2018-12-30 20:35:40
阅读次数:
185
基本语法 (param1, param2, …, paramN) => { statements } (param1, param2, …, paramN) => expression 如果函数体没有用{}括起来,就等于{ return express} 只有一个参数时,括号才能不加 (single ...
分类:
其他好文 时间:
2018-12-30 18:53:56
阅读次数:
170
Given an input string (s) and a pattern (p), implement regular expression matching with support for '.' and '*'.'.' Matches any single character.'*' M ...
分类:
其他好文 时间:
2018-12-30 17:23:09
阅读次数:
228
概述: AngularJS(ng)是一个纯JS框架,AngularJS易于构建CRUD应用(CRUD意思是增删改查) 适用于以数据操作为主的SPA(Single Page Application)应用。基于jQuery对传统的DOM操作进行进一步的封装 使用MVC操作代替了所有的DOM操作。不再是“ ...
分类:
Web程序 时间:
2018-12-30 16:26:22
阅读次数:
273
"Spring" 系列目录 第一篇: "Spring" 系列 一、Spring 应用 二、Spring 源码分析 三、Spring 注意事项 第二篇: "Spring Boot" 系列 Spring Boot 官方文档()。介绍一个小窍门:将 htmlsingle 修改为 pdf 可下载对应的文档。 ...
分类:
编程语言 时间:
2018-12-30 10:41:10
阅读次数:
172
个人博客原文: "单一职责原则" 设计模式六大原则之一:单一职责原则 简介 姓名 :单一职责原则 英文名 :Single Responsibility Principle 座右铭 :There should never be more than one reason for a class to c ...
分类:
其他好文 时间:
2018-12-27 00:36:29
阅读次数:
139