Internal
Constructs a fixed priority queue.
Fixed priority queue size.
Whether to enable priority.
FixedPriorityQueue.
defaultQueueSize
false
Readonly
capacityThe fixed priority queue capacity.
Whether to enable priority.
Private
Readonly
nodeThe fixed priority queue size.
Private
startPrivate
checkEnqueue 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.
If the fixed priority queue is full.
Fixed priority queue.