ComparablePriorityQueue

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val count: Int
Link copied to clipboard
open override val heap: Heap<T>
Link copied to clipboard
open override val isEmpty: Boolean
Link copied to clipboard

Functions

Link copied to clipboard
open override fun dequeue(): T?
Link copied to clipboard
open override fun enqueue(element: T): Boolean
Link copied to clipboard
open override fun peek(): T?
Link copied to clipboard
fun <T> Queue<T>.reverse()