摘要:
Sole purpose of using concurrency is to produce scalable and faster program. But always remember, speed comes after correctness. Your Java program mus 阅读全文
posted @ 2015-12-21 15:48
ppjj
阅读(553)
评论(0)
推荐(0)
摘要:
1、使用内部类,而且它是线程安全的,而且只创建一次:/**Prof Bill Pugh, University of Maryland, was the main force behind java memorymodel changes. His principle Initialization-... 阅读全文
posted @ 2015-12-21 11:36
ppjj
阅读(194)
评论(0)
推荐(0)

浙公网安备 33010602011771号