Internal
Constructs a priority queue.
Prioritized bucket size.
Whether to enable priority.
PriorityQueue.
The number of filled prioritized buckets.
The number of filled prioritized buckets.
Whether priority is enabled.
Whether priority is enabled.
Enables/disables priority.
Whether to enable priority.
The priority queue size.
The priority queue size.
Enqueue data into the priority queue.
Data to enqueue.
Optional
priority: numberPriority of the data. Lower values have higher priority.
The new size of the priority queue.
Priority queue.