Creates a PriorityBlockingQueue
with the specified
initial capacity that orders its elements according to their
natural ordering.
initialCapacity | the initial capacity for this priority queue |
IllegalArgumentException | if initialCapacity is less
than 1 |
Diagram: Collection Queue