April 2017
Beginner
504 pages
14h 11m
English
This is an implementation of the BlockingQueue interface, which is backed up by a linked list. The size of the queue is not limited by default (to be precise, it is Integer.MAX_VALUE) but it can optionally be limited in a constructor argument. The reason to limit the size in this implementation is to aid the use when the parallel algorithm performs better with limited size queue, but the implementation does not have any restriction on the size.
Read now
Unlock full access