Internal
Constructs a fixed priority queue.
Fixed priority queue size.
Whether to enable priority.
FixedPriorityQueue.
Readonly
capacityThe fixed priority queue capacity.
Whether to enable priority.
The fixed priority queue size.
Enqueue data into the fixed priority queue.
Data to enqueue.
Optional
priority: numberPriority of the data. Lower values have higher priority.
The new size of the priority queue.
Fixed priority queue.