摘要: http://www.cnblogs.com/gavinYang/p/3939965.html 阅读全文
posted @ 2017-07-27 15:16 danawill 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 转载于 http://www.blogjava.net/sxyx2008/archive/2010/09/15/332058.html 依赖的JAR cxf-2.2.10.jar jetty-6.1.21.jar jetty-util-6.1.21.jar servlet-2_5-api.jar w 阅读全文
posted @ 2017-07-26 16:42 danawill 阅读(144) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/CareySon/p/DifferenceBetweenCountStarAndCount1.html 阅读全文
posted @ 2017-06-30 09:38 danawill 阅读(107) 评论(0) 推荐(0) 编辑
摘要: query 10000 elements spend: 0query 10000 elements spend: 0query 10000 elements spend: 0query 10000 elements spend: 0query 10000 elements spend: 0query 阅读全文
posted @ 2017-06-03 22:08 danawill 阅读(152) 评论(0) 推荐(0) 编辑
摘要: query 10000 elements spend: 0query 10000 elements spend: 78query 10000 elements spend: 223query 10000 elements spend: 345query 10000 elements spend: 6 阅读全文
posted @ 2017-06-03 22:02 danawill 阅读(109) 评论(0) 推荐(0) 编辑
摘要: package test1; import java.util.ArrayList; import java.util.LinkedList; /** * Created by Administrator on 2017/6/3 0003. */ public class ListPK { public static void main(String[] args) { ... 阅读全文
posted @ 2017-06-03 21:43 danawill 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Exception in thread "main" java.util.ConcurrentModificationException at java.util.ArrayList$SubList.checkForComodification(ArrayList.java:1231) at jav 阅读全文
posted @ 2017-06-03 20:42 danawill 阅读(2192) 评论(0) 推荐(0) 编辑
摘要: 在java中如何修改方法参数的值 答案是 package myapp; import org.omg.CORBA.IntHolder; public class Test2 { public static void change(IntHolder x) { x.value = 3*x.value; 阅读全文
posted @ 2017-05-27 23:17 danawill 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 程序碰到异常会终止执行,如果加了异常处理了,后面的代码会被执行 阅读全文
posted @ 2017-05-21 17:59 danawill 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 1 public class Test { 2 public static void main(String[] args) { 3 String str ="http://detail.zol.com.cn/cell_phone_advSearch/subcatedaddal1-s_1.html? 阅读全文
posted @ 2017-05-20 23:16 danawill 阅读(112) 评论(0) 推荐(0) 编辑