Interruptedexception:
http://blog.csdn.net/srzhz/article/details/6804756
1. A thread that is sleeping,awaiting or times occupied (blocking state), the interrupt throws Interruptedexception:
But is not the position, and also will not be broken thread, to manually interrupt
2. Interrupt flag position bit when interrupt
3. Non-blocking state is interrupted without generating interruptedexception
Read-write Lock (Reentrantreadwritelock):
Construct lock object; get read/write Lock (Readlock () method); Add read and write lock to method
blocking queues
Concurrent Container Concurrenthashmap:
Http://www.cnblogs.com/dolphin0520/p/3932905.html
Collection interface:
Iterator and Iterable:
The Iterable interface has only one method to produce an iterator class, and the iterator class needs to be defined in the class itself.
The queue inherits the Cllection interface, and the collection interface inherits the Iterable interface.
Java Learning Note 9.20