此文主要是对于spring中AOP实现的一些思考总结 图。 一、先认识两个AOP功能类 1、根据一个表达式判断一个Method是否匹配。 2、根据拦截类类名和拦截器的方法名,获取指定拦截器方法Method。(拦截器即Advice) 二、讲解一个策略ReflectiveMethodInvocation ...
分类:
编程语言 时间:
2020-02-01 12:40:54
阅读次数:
86
SELECT CONCAT( 'ALTER TABLE ' ,TABLE_NAME ,' ENGINE=INNODB, ROW_FORMAT=DYNAMIC; ') as `sql-commands-for-convert-engine` FROM information_schema.TABLES ...
分类:
数据库 时间:
2020-01-31 10:51:41
阅读次数:
99
[root@localhost bin]# systemctl status firewalld.service● firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/sys ...
分类:
其他好文 时间:
2020-01-29 21:41:44
阅读次数:
117
C++ 中的四种类型转换 static_cast, dynamic_cast, const_cast, reinterpret_cast是c++ 中的四种类型转换 1、const_cast 用于将const变量转为非const 2、static_cast 用于各种隐式转换,比如非const转cons ...
分类:
编程语言 时间:
2020-01-29 01:06:36
阅读次数:
98
dynamic 表示是动态的,数据类型是指任意类型 var a; a = 10; a = "Dart"; print(a); dynamic b = 20; b = "JavaScript"; print(b); print(b.runtimeType); var list = new List<d ...
分类:
编程语言 时间:
2020-01-28 12:40:24
阅读次数:
82
1.同步生成器 main() { Iterator<dynamic> it = iter(5).iterator; while (it.moveNext()) { print(it.current); } } // Iterable iter(n) sync* { print("Begin"); i ...
分类:
其他好文 时间:
2020-01-28 12:36:25
阅读次数:
81
已剪辑自: https://www.cnblogs.com/chenyangchun/p/6795923.html 1. c强制转换与c++强制转换 c语言强制类型转换主要用于基础的数据类型间的转换,语法为: (type-id)expression//转换格式1 type-id(expression ...
分类:
其他好文 时间:
2020-01-27 22:12:59
阅读次数:
80
Survey sampling $\bullet$What is survey sampling?(c.f.census survey)(c.f.:参考,查看,来源于拉丁语) $\bullet$understanding the whole by a $\underline{fraction}$(i ...
分类:
其他好文 时间:
2020-01-27 12:37:44
阅读次数:
103
0. 1. examples: def fib(n): if n == 1 or n == 2: result = 1 else result = fib(n-1) + fib(n-2) return result this is very in-efficient, O(2^n), and we ...
分类:
其他好文 时间:
2020-01-24 09:28:30
阅读次数:
77
首先引入相关的jar包: 然后是在Mybatis全局配置文件中配置: <plugins> <plugin interceptor="com.github.pagehelper.PageInterceptor"></plugin> </plugins> 就可以使用了。 EmployeeMapper.j ...
分类:
其他好文 时间:
2020-01-23 15:33:09
阅读次数:
85