August 2018
Intermediate to advanced
524 pages
14h 45m
English
ArrayBlockingQueue implements the BlockingQueue interface, hence the Queue interface. This implementation manages a queue with fixed-size elements. The storage in the implementation is an array and the elements are handled in a FIFO manner—first-in, first-out. This is the class that we will also use in the parallel implementation of Mastermind for the communication between the boss and the subordinate bureaucrats.