September 2019
Intermediate to advanced
816 pages
18h 47m
English
Java provides a blocking queue in which each insert operation must wait for a corresponding remove operation by another thread, and vice versa, via SynchronousQueue:
BlockingQueue<String> queue = new SynchronousQueue<>();