随笔分类 -  java

摘要:package com.wish.datastrustudy; import java.util.HashSet; import java.util.LinkedList; import java.util.List;import java.util.Set; public class String 阅读全文
posted @ 2018-02-26 14:27 Debugs 阅读(393) 评论(0) 推荐(0)
摘要:一、生成密钥库和证书可参考以下密钥生成脚本,根据实际情况做必要的修改,其中需要注意的是:服务端的密钥库参数“CN”必须与服务端的IP地址相同,否则会报错,客户端的任意。 1、生成服务器证书库keytool -validity 365 -genkey -v -alias server -keyalg 阅读全文
posted @ 2017-10-27 10:30 Debugs 阅读(323) 评论(0) 推荐(0)
摘要:public class TreeTest { private Integer id; private Integer pId; private String name; private List<TreeTest>children; public TreeTest() { } public Tre 阅读全文
posted @ 2017-09-09 13:37 Debugs 阅读(318) 评论(0) 推荐(0)
摘要:public static List removeDuplicateWithOrder(List list) { Set set = new HashSet(); List newList = new ArrayList(); for (Iterator iter = list.iterator() 阅读全文
posted @ 2017-09-07 19:29 Debugs 阅读(559) 评论(0) 推荐(0)
摘要:NVL2(E1, E2, E3)的功能为:如果E1为NULL,则函数返回E3,否则返回E2。E2和E3类型不同的话,E3会转换为E2的类型。 oracle 函数介绍之nullif 格式: nullif(expr1,expr2) 等价于 "case when expr1 = expr 2 then n 阅读全文
posted @ 2017-05-18 18:09 Debugs 阅读(233) 评论(0) 推荐(0)
摘要:tm.begin(); sm.begin(); try { result = excel.readE(headKeyV,path); for (int index = 1; index < result.size(); index++) { tempMap = result.get(index); 阅读全文
posted @ 2017-05-18 10:21 Debugs 阅读(489) 评论(0) 推荐(0)
摘要:没80条执行一次 int bathInt = 80; for(int i = 0; i < map.size()/bathInt; i++){ msg.append(pMethod.SHHSREVObject(map.subList(i*bathInt, (i+1)*bathInt),UName,T 阅读全文
posted @ 2017-05-18 10:18 Debugs 阅读(919) 评论(0) 推荐(0)
摘要:$exp lddba/ld_321@192.168.1.3/testora file=E:\db_bak\ld20170219_1testora.dmp log=E:\db_bak\ld20170219_1testora.log full=y; $imp lddba/ld_321@127.0.0.1 阅读全文
posted @ 2017-02-27 14:40 Debugs 阅读(271) 评论(0) 推荐(0)
摘要:例如 Jsp、Velocity、Tiles、iText 和 POI。Spring MVC框架并不知道使用的视图,所以不会强迫您只使用 JSP 技术。 阅读全文
posted @ 2016-12-24 10:49 Debugs 阅读(170) 评论(0) 推荐(0)
摘要:max 最大数 自动加 1 阅读全文
posted @ 2015-06-06 11:05 Debugs 阅读(510) 评论(0) 推荐(0)
摘要:1.输出用"、"符合分隔多个作者列表 2.获取数据库表的主键最大值 3.根据分割类来分割字符串 4.计算周岁的函数 6.带排序的oracle分页存储过程(来自网络) 5.获取数据表架构信息 阅读全文
posted @ 2015-06-06 11:03 Debugs 阅读(303) 评论(0) 推荐(0)