如何学习 这个包java.util.concurrent 的东西
请赐教!目前最高只能给100分,回答满意可以给专场!
------解决方案--------------------
看一下java并发编程实战这本书
看api文档中的说明以及示例
------解决方案--------------------
API有比较详细的解释:http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/package-summary.html
这文章总结的也还不错:http://www.cnblogs.com/sarafill/archive/2011/05/18/2049461.html
------解决方案--------------------
To understand deeply concurrent programming,you'd better get to program with those API instead of only reading API.
You can feel and understand more after you encounter some issues and fix them.
Besides, to master exactly these basic concepts is mandatory, such as synchronized, wait,sleep,notify,interrupt,volatile, and new classes for concurrency since Jdk1.5, Lock, ReentrantLock,Condition,ReentrantWriteReadLock,CyclicBarrier,CountdownLatch,Future,Exectors,ExecutorService,Callable,AtomicInteger, ArrayBlockingQueque,ForkJoinPool since jdk17, and the like.
Frankly speaking,if you have really grasp concurrent concepts before JDK 1.5,it's very easy to master this package.Coz these APIs just are encapsulations to old techniques,and provides a pile of new classes to help programmers implement concurrent programming.
------解决方案--------------------
学并发怎么可以不上这个网站:http://ifeve.com/