摘要:
转载自:http://blog.csdn.net/hekewangzi/article/details/51712963 阅读全文
posted @ 2016-08-29 10:03
你明哥
阅读(181)
评论(0)
推荐(0)
摘要:
转载自:http://blog.csdn.net/hekewangzi/article/details/51713002 阅读全文
posted @ 2016-08-29 10:00
你明哥
阅读(150)
评论(0)
推荐(0)
摘要:
转载自:http://blog.csdn.net/hekewangzi/article/details/51713037 阅读全文
posted @ 2016-08-29 09:58
你明哥
阅读(147)
评论(0)
推荐(0)
摘要:
转载自:http://blog.csdn.net/hekewangzi/article/details/51713058 阅读全文
posted @ 2016-08-29 09:56
你明哥
阅读(159)
评论(0)
推荐(0)
摘要:
转载自:http://blog.csdn.net/hekewangzi/article/details/51713110 阅读全文
posted @ 2016-08-29 09:53
你明哥
阅读(146)
评论(0)
推荐(0)
摘要:
转载自:http://blog.csdn.net/hekewangzi/article/details/51942128 阅读全文
posted @ 2016-08-29 09:51
你明哥
阅读(346)
评论(0)
推荐(0)
摘要:
转载自:http://blog.csdn.net/hekewangzi/article/details/51956577 阅读全文
posted @ 2016-08-29 09:46
你明哥
阅读(671)
评论(0)
推荐(0)
摘要:
Java Thread中, join() 方法是让调用该方法的主线程执行run()时暂时卡住,等run()执行完成后, 主线程再调用执行join()后面的代码。示例: 如果去掉t1.join()这个语句过后, 输出的顺序是乱的, 加上这个语句后, 就会按照顺序输出, 从某种意义上说实现了同步。 转载 阅读全文
posted @ 2016-08-25 13:20
你明哥
阅读(535)
评论(0)
推荐(0)
摘要:
ArrayList会比Vector快,他是非同步的,如果设计涉及到多线程,还是用Vector比较好一些 import java.util.*; /** * 演示Vector的使用。包括Vector的创建、向Vector中添加元素、从Vector中删除元素、 * 统计Vector中元素的个数和遍历Ve 阅读全文
posted @ 2016-08-24 17:47
你明哥
阅读(9374)
评论(0)
推荐(0)
摘要:
在使用spring框架配置AOP的时候,不管是通过XML配置文件还是注解的方式都需要定义pointcut"切入点" 例如定义切入点表达式 execution(* com.sample.service.impl..*.*(..)) execution()是最常用的切点函数,其语法如下所示: 整个表达式 阅读全文
posted @ 2016-08-24 16:49
你明哥
阅读(1618)
评论(1)
推荐(0)
浙公网安备 33010602011771号