Creates new instance of MaxPriorityQueue based on binary heap (see Priority Queues for details).
comparator for the queue elements.
elements to put in this queue. Default value is empty array.
MaxPriorityQueue.
Creates new instance of MinPriorityQueue based on binary heap (see Priority Queues for details).
comparator for the queue elements.
elements to put in this queue. Default value is empty array.
MinPriorityQueue.
Creates new instance of Queue.
new instance of Queue.
Creates new instance of Stack.
new instance of Stack.
Generated using TypeDoc
Contains factory functions that create instances of containers' ADTs.