第一个是工具类, MapUtil.java 然后是具体的实现工具类,使用了阿里巴巴的 fastjson 工具包;里面的测试类可以忽略 ...
分类:
数据库 时间:
2017-10-15 19:53:43
阅读次数:
315
#include #include #include #include using namespace std; int number[101],i=0,p=1; char symbol[101],s[256],t[256]; void push(){symbol[++p]=s[i];} int P... ...
分类:
其他好文 时间:
2017-10-14 18:43:52
阅读次数:
93
基于二阶段聚集模式的异常探测 M.F .Jiang, S.S. Tseng *, C.M. Su 国立交通大学计算机与信息科学系,中国台北市新竹路100150号 1999年11月17日; 2000年4月25日修订 摘要 本文提出了一种进行异常探测的二阶段聚集算法。在第一段中,我们首先通过探索“如果一 ...
分类:
其他好文 时间:
2017-10-13 18:01:07
阅读次数:
179
假定电商活动有几个固定时间,通过写一段js自动循环实现。 还未完整测试过结果,先做一个记录~~~ ...
分类:
Web程序 时间:
2017-10-11 10:50:46
阅读次数:
207
block的实质 以一个简单的实现为列子; 终端:clang -rewrite-objc 类文件名.m cpp文件中关键代码: 运行时的myBlcokTest方法; 去掉类型转化 __People__myBlcokTest_block_impl_0:是一个结构体 包含两个成员: 通过结构体的构造函数 ...
分类:
其他好文 时间:
2017-10-11 00:54:32
阅读次数:
179
简介:字符串转日期型函数 传入一个字符串格式的日期,如何转换为日期型的。以下为转换方案。 //字符串转换为日期函数,返回日期型(传入的日期格式2014-04-22) function StringToDate(str) { var strDate = str.split(" "); var strD ...
分类:
Web程序 时间:
2017-10-10 23:21:36
阅读次数:
286
1.先在MongoDB官网下载Java驱动包 MongoDB Java Driver: http://mongodb.github.io/mongo-java-driver/ JAR包下载列表 https://oss.sonatype.org/content/repositories/release ...
分类:
数据库 时间:
2017-10-10 13:19:15
阅读次数:
161
$("#父窗口元素ID",window.parent.document);对应javascript版本为window.parent.document.getElementById("父窗口元素ID"); 取父窗口的元素方法:$(selector, window.parent.document); 那 ...
分类:
Web程序 时间:
2017-10-09 19:31:57
阅读次数:
266
class Demo_1 { public static void main(String[] args) { System.out.println("5+5="+5+5); } } class Demo_2 { public static void main(String[] args) { in ...
分类:
其他好文 时间:
2017-10-09 13:19:32
阅读次数:
192
A smile is the most charming part of a person forever. 微笑永远是一个人身上最好看的东西。 Smile in the mirror, and you will find the one in the mirror will smile to yo ...
分类:
其他好文 时间:
2017-10-09 09:50:29
阅读次数:
133