上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 35 下一页
摘要: http://m.blog.csdn.net/blog/yongjian1092/7372678深入理解Java虚拟机android虚拟机java并发编程实战Java网络编程(第四版) 阅读全文
posted @ 2015-07-29 22:15 chuiyuan 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 手机卫士http://blog.csdn.net/u011485531/article/details/17975689 阅读全文
posted @ 2015-07-20 11:16 chuiyuan 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 一、使用的时候要注意1.无论synchronized是加在方法还是对象上,它取得的锁都是对象的,而不是将一段代码或者方法锁定。2.每个对象只有一个lock与之对应。3.实现同步要比较大的系统开销。二、synchronized关键字作用域有两种1.在一个对象实例内,synchronized aMeth... 阅读全文
posted @ 2015-07-20 09:12 chuiyuan 阅读(298) 评论(0) 推荐(0) 编辑
摘要: public class Test6 implements Serializable{ private static final long serialUID = 1L; private Date loggingDate = new Date(); private String uid ; priv... 阅读全文
posted @ 2015-07-19 22:04 chuiyuan 阅读(164) 评论(0) 推荐(0) 编辑
摘要: package javastudy;public class Test4 { public static void main(String[] args){ String s [] = {"dad","bood","bada","Admin","xxx","Good", "aete","cc... 阅读全文
posted @ 2015-07-19 15:22 chuiyuan 阅读(192) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/yaerfeng/article/details/28855587例子package javastudy;public class Test3 { static String s = "sdgjerj5346m456n45653m4"; public st... 阅读全文
posted @ 2015-07-18 20:58 chuiyuan 阅读(219) 评论(0) 推荐(0) 编辑
摘要: package javastudy;import java.util.HashMap;import java.util.Map;public class TestMap { public static void main(String [] args ){ Map map = new HashMa... 阅读全文
posted @ 2015-07-17 23:13 chuiyuan 阅读(157) 评论(0) 推荐(0) 编辑
摘要: package javastudy;import java.util.ArrayList;import java.util.Collections;import java.util.Iterator;import java.util.TreeSet;public class Test1 { publ... 阅读全文
posted @ 2015-07-17 20:10 chuiyuan 阅读(1150) 评论(0) 推荐(0) 编辑
摘要: package c4;public class FibTest { public static void main(String []args ){ long begin = System.currentTimeMillis() ; System.out.println(fib(10)) ; ... 阅读全文
posted @ 2015-07-16 14:21 chuiyuan 阅读(431) 评论(0) 推荐(0) 编辑
摘要: public class Test { public static void main(String [] args){ String[] array =new String[] {"1","2","3"}; listAll(Arrays.asList(array), "") ; } pub... 阅读全文
posted @ 2015-07-16 09:22 chuiyuan 阅读(680) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 35 下一页