Spring在BeanFactory基础上提供了一些列具体容器的实现,其中AnnotationConfigApplicationContext是一个用来管理注解bean的容器,从AnnotationConfigApplicationContext的实现结构图中可以看出: AnnotationConf ...
分类:
移动开发 时间:
2018-09-17 15:23:52
阅读次数:
198
1.linux中的变量 linux中的变量分为环境变量和普通变量,其中环境变量可以理解为全局变量,在所有shell的子程序中都可以引用,普通变量只能在自己的shell程序中使用,程序结束后变量无法保留。 设置环境变量的方法: 1.export命令 用户退出后失效 export test=12312 ...
分类:
系统相关 时间:
2018-09-15 13:10:32
阅读次数:
169
1 ######################################################################### 2 # File Name: 9-5.sh 3 # Author: zhang yunabo 4 # mail: ma6174@163.com 5 ... ...
分类:
系统相关 时间:
2018-09-15 01:16:59
阅读次数:
207
Invitation Cards Time Limit: 8000MS Memory Limit: 262144K Total Submissions: 33435 Accepted: 11104 Description In the age of television, not many peop ...
分类:
其他好文 时间:
2018-09-14 00:06:17
阅读次数:
162
测试场景是测试过程中通常尽量模拟真实系统环境及用户操作而设计的场景,场景设计源于用户的真实操作,设计原则是贴近于用户实际操作,组合用户的各种操作到场景中来。JMeter是通过线程组的设置来完成场景设置的,有些复杂场景还需要与逻辑控制器配合。JMeter 线程组实际上是建立一个线程池,JMeter根据 ...
分类:
其他好文 时间:
2018-09-12 17:07:21
阅读次数:
646
以优先队列为例,从cppreference查得,它的模板为 所以我们要定义一个Compare类实现less的功能,在观察less类的内容,https://en.cppreference.com/w/cpp/utility/functional/less 实现非常简单,只要对我们自定义的类实现oper ...
分类:
其他好文 时间:
2018-09-07 11:12:09
阅读次数:
174
恢复内容开始 Loop循环 label: LOOP statement_list IF exit_condition THEN LEAVE label; END IF; END LOOP label; Repeat循环 REPEAT statement_list UNTIL search_condi ...
分类:
数据库 时间:
2018-09-06 00:08:00
阅读次数:
635
[抄题]: Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. Example: [暴力解法]: 时间分析: 空间分析: [优化后]: 时间分析: 空 ...
分类:
其他好文 时间:
2018-09-05 08:58:49
阅读次数:
149
if 判断 if 5 3 5 3 if else shell !/bin/sh a=5 if [[ $a 8 ]];then echo "$a 8" else echo "$a 5 ]];then echo "$a 5" elif [ $a eq 5 ];then echo "$a=5" else ...
分类:
系统相关 时间:
2018-09-04 10:32:02
阅读次数:
182