摘要: Get it from: http://space.itpub.net/111631/viewspace-610344volatile关键字有什么用?  恐怕比较一下volatile和synchronized的不同是最容易解释清楚的。volatile是变量修饰符,而synchronized则作用于一段代码或方法;看如下三句get代码:int i1; int geti1() {return i1;}...阅读全文
posted @ 2010-04-29 10:38 雨人(ralpher) 阅读(112) 评论(0) 编辑
posted @ 2007-06-15 10:33 雨人(ralpher) 阅读(66) 评论(0) 编辑
posted @ 2007-05-31 11:24 雨人(ralpher) 阅读(354) 评论(0) 编辑
posted @ 2007-04-27 11:10 雨人(ralpher) 阅读(49) 评论(5) 编辑
posted @ 2006-09-27 09:48 雨人(ralpher) 阅读(64) 评论(0) 编辑
posted @ 2006-08-02 09:25 雨人(ralpher) 阅读(160) 评论(1) 编辑
posted @ 2006-06-26 00:21 雨人(ralpher) 阅读(129) 评论(2) 编辑
posted @ 2006-06-21 01:09 雨人(ralpher) 阅读(256) 评论(0) 编辑
posted @ 2006-06-01 17:14 雨人(ralpher) 阅读(677) 评论(0) 编辑
posted @ 2006-05-23 16:50 雨人(ralpher) 阅读(82) 评论(0) 编辑