public class TestRetry {
public static void main(String[] args) {
retry(5);
}
private static void retry(int maxCount) {
int count = 0;
boolean result = false;
do {
count++;
System....
分类:
其他好文 时间:
2014-06-03 05:10:35
阅读次数:
179
这里主要结合几篇文章分享一下个人理解的emma的简单使用。复杂功能还需要以后进一步学习。
主页: http://emma.sourceforge.net
详细文档介绍:http://emma.sourceforge.net/reference/reference.html
这篇文章中介绍的Emma比较清晰,本文主要内容来自于它:http://nitintalk.wordpress.co...
分类:
编程语言 时间:
2014-06-03 04:18:30
阅读次数:
527
字典树的删除操作:
1 没找到直接返回
2 找到叶子节点的时候,叶子节点的count标志清零,代表不是叶子节点了
3 如果当前节点没有其他孩子节点的时候,可以删除这个节点
判断是否需是叶子节点,就检查叶子节点的count标志就可以了。
判断是否有其他孩子节点就需要循环26个节点了,如果都为空,那么就没有其他孩子节点了。
#include
#include
#include ...
分类:
其他好文 时间:
2014-06-03 00:49:49
阅读次数:
279
2014-05-31 BaoXinjian In Capgemini1.
SRW的主要作用控制报表的运行 -> srw.program_abort在运行时输出信息 -> srw.message执行DDL语句 ->
srw.do_sql调用用户出口 -> srw.reference动态地设置格式 ->...
分类:
其他好文 时间:
2014-06-02 20:00:34
阅读次数:
332
//打开织梦系统文件 /include/arc.archives.class.php 找到GetPreNext函数 function GetPreNext($gtype='')
{
$rs = '';
if(count($this->PreNext)ArcID;
...
分类:
其他好文 时间:
2014-06-01 08:49:14
阅读次数:
241
每年
select to_char(createtime, 'YYYY') 年, count(*) from table group by to_char(createtime, 'YYYY');
每季度
select to_char(createtime, 'q') 年, count(*) from table group by to_char(createtime, 'q');
...
分类:
数据库 时间:
2014-06-01 08:48:29
阅读次数:
368
条款20:宁以pass-by-reference-to-const替换pass-by-value...
分类:
其他好文 时间:
2014-05-31 21:55:34
阅读次数:
223
条款21:必须返回对象时,别妄想返回其reference
引用只是对象的一种别名当使用引用的时候,请确认他的另一个身份在哪?...
分类:
其他好文 时间:
2014-05-31 21:49:07
阅读次数:
218
文章标题 文章内容 编辑 prepare($query);
$result_acticle->execute(); $msg_count =$result_act...
分类:
Web程序 时间:
2014-05-31 21:10:01
阅读次数:
386
在windows系统下,library
project必须和project处于相同的盘符中,因为如果在不同盘符,project.properties中的android.library.reference.1值变成绝对路径而ADT推荐是在ubuntu下使用的,对windows绝对路径有支持bug。在w...
分类:
移动开发 时间:
2014-05-31 20:09:17
阅读次数:
376