java.util.concurrent,examples,tutorial和code [英] java.util.concurrent , examples, tutorial and code
问题描述
我一直要求使用 java.util.concurrent
库来构建多线程java应用程序。我不熟悉这个库,但对多线程代码的问题有很好的理解。
I've been ask to build a multi-threaded java application using the java.util.concurrent
library. I'm not familiar with this library, but have a good understanding of problems with multi-threaded code.
我在寻找一个教程和示例代码,
I'm looking for a tutorial and example code that shows this java library in use and it's best practises.
推荐答案
如果你是一个快速学习者,我推荐网站www.java2s.com (以Java API为例)。
If you are a fast learner, I recommend the site www.java2s.com (Java API by Example).
这是并发包的完整链接: http://www.java2s.com/Code/JavaAPI/java.util.concurrent/Catalogjava.util.concurrent.htm
Here's the full link for the concurrent package: http://www.java2s.com/Code/JavaAPI/java.util.concurrent/Catalogjava.util.concurrent.htm
编辑:
如果你可以花一些现金(不急于),我推荐这本书:
Java并发在实践
http://www.amazon.com/Java-Concurrency-Practice-Brian-Goetz/dp/0321349601/ref=sr_1_1? ie = UTF8& qid = 1290021702& sr = 8-1
它真的是充满了例子和良好实践。
It is really full of examples and good practices.
这篇关于java.util.concurrent,examples,tutorial和code的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!