主要点:TRY...CATCH不会返回对象错误或者字段错误等类型的错误 当 SET XACT_ABORT 为 ON 时,如果执行 Transact-SQL 语句产生运行时错误,则整个事务将终止并回滚。 当 SET XACT_ABORT 为 OFF 时,有时只回滚产生错误的 Transact-SQL ...
分类:
其他好文 时间:
2014-10-11 19:12:26
阅读次数:
193
不用Matrix-tree定理什么的,一边kruscal一边 对权值相同的边 暴搜即可。将所有方案乘起来。 1 #include 2 #include 3 using namespace std; 4 int n,m; 5 struct Disjoint_Set 6 { 7 int fa[1...
分类:
Web程序 时间:
2014-10-11 16:55:06
阅读次数:
232
action中:设置属性并增加get,set方法,给属性赋值后(如:private String name; public String getName() { return name; } public void setName(String name) { this.name = name;.....
分类:
其他好文 时间:
2014-10-11 16:51:35
阅读次数:
237
POJ2443
Set Operation
Time Limit: 3000MS
Memory Limit: 65536K
Total Submissions: 2679
Accepted: 1050
Description
You are given N sets, the i-th set (represent...
分类:
其他好文 时间:
2014-10-11 15:40:55
阅读次数:
150
iReport 官网和文档上关于chart设计以饼图和JDBC源作为例子,但更多的情况下由于报表中的数据需要首先加工处理,因此更多的是从JavaBeans set datasource从获取数据,另外linechart也是使用很多的一种chart工具,本文就记录在iReport中通过JavaBeansset datasource 获取数据,继而生成linechart报表的过程。
1. ...
分类:
其他好文 时间:
2014-10-11 15:31:15
阅读次数:
356
HashCode 意义: 总的来说,Java中的集合(Collection)有两类,一类是List,再有一类是Set。你知道它们的区别吗?前者集合内的元素是有序的,元素可以重复;后者元素无序,但元素不可重复。那么这里就有一个比较严重的问题了:要想保证元素不重复,可两个元素是否重复应该依据什么来判断呢...
分类:
其他好文 时间:
2014-10-11 15:29:15
阅读次数:
161
"不就是集合吗?高中就学过了。小样,别以为加个“论”字我就不认识你!"在我们的印象中,集合一直是数学的基础语言,任何一个分支都是由集合定义起的。殊不知,这一状况其实才几十年时间,集合论(Set Theory)的诞生也才一百年左右。你可能更没想到,集合论起始于对无穷的探索和思考,它还掀起了崭新的学.....
分类:
其他好文 时间:
2014-10-11 15:22:55
阅读次数:
221
1 use EntDataCenter 2 go 3 SET ANSI_NULLS ON 4 GO 5 SET QUOTED_IDENTIFIER ON 6 GO 7 -- ============================================= 8 -- Aut...
分类:
数据库 时间:
2014-10-11 14:55:15
阅读次数:
236
dpdk.orgWhat it isIntel® DPDK is a set of libraries and drivers for fast packet processing on x86 platforms. It runs mostly in Linux userland.This pro...
分类:
其他好文 时间:
2014-10-11 14:08:05
阅读次数:
266
Set a multi node Apache ZooKeeper clusterOn every node of the cluster add the following lines to the filekafka/config/zookeeper.propertiesserver.1=zNo...
分类:
Web程序 时间:
2014-10-11 13:20:15
阅读次数:
253