如果你用过Spring Cache,你一定对这种配置和代码不陌生: <cache:annotation-driven cache-manager="cacheManager" proxy-target-class="true" order="1" /> <cache:annotation-drive ...
分类:
系统相关 时间:
2018-04-02 13:45:05
阅读次数:
383
F - Drivers Dissatisfaction 题目大意:给你n个点,m条边,每个边都有一个权重w,每条边也有一个c表示,消耗c元可以把这条边的权重减1,求最多消耗s元的最小生成树。 思路:因为一条边的权重没有下限所以s元肯定是用在一条边上的。 那么我们先跑一个最小生成树,把这棵最小生成树建 ...
分类:
其他好文 时间:
2018-03-30 15:14:19
阅读次数:
138
解决办法是Form类中定义一个静态的ActiveX对象,在formload中将界面上的ActiveX对象赋值给新定义的对象,类中访问该静态对象即可. public static AxClientDriver_NTLib.AxClientDriverCtrl com = new AxClientDri ...
分类:
编程语言 时间:
2018-03-30 13:14:46
阅读次数:
196
1、编写如下代码 2、执行代码,弹出firefox,地址栏输入代码设置的地址。 ...
分类:
其他好文 时间:
2018-03-30 00:13:05
阅读次数:
150
1、MyBatis是什么? MyBatis源自于IBatis,是一个持久层框架,封装了jdbc操作数据库的过程,使得开发者只用关心sql语句,无需关心驱动加载、连接,创建statement,手动设置参数,结果集检索等jdbc底层操作。 Mybatis通过xml或注解的方式将要执行的各种stateme ...
分类:
其他好文 时间:
2018-03-29 12:02:20
阅读次数:
295
[root@docker05 docker]# ll total 20796 -rw-r--r-- 1 root root 75032 Mar 26 23:52 audit-libs-python-2.7.6-3.el7.x86_64.rpm -rw-r--r-- 1 root root 29698 ...
分类:
其他好文 时间:
2018-03-27 14:28:52
阅读次数:
1569
song = ''' sunday's coming i wanna drive my carto your apartment with present like a starforecaster said the weather may be rainy hardbut i know the s... ...
分类:
其他好文 时间:
2018-03-26 12:34:08
阅读次数:
175
处理办法: q path f=d update path tsmdrive01 srctype=server desttype=drive library=ts3310 device=mt0.0.0.5online=yes updatepath tsm drive02 srctype=serverd ...
分类:
其他好文 时间:
2018-03-26 10:51:09
阅读次数:
726
针对数据库操作,Spring框架提供了JdbcTemplate类。 1.Spring JDBC的配置 创建配置文件applicationContext.xml,添加如下代码: 2.创建Javabean和Dao接口 1 public class User { 2 private Integer id; ...
分类:
数据库 时间:
2018-03-25 20:46:05
阅读次数:
245
1 #include <linux/module.h> 2 #include <linux/init.h> 3 #include <linux/fs.h> 4 #include <linux/cdev.h> 5 6 #include <linux/wait.h> 7 #include <linux/ ...
分类:
其他好文 时间:
2018-03-25 16:56:53
阅读次数:
188