toggle menu
KAHelpers
androidJvm
switch theme
search in API
dataStructuresAndAlgorithms
/
dev.funkymuse.datastructuresandalgorithms.queue.priority
/
AbstractPriorityQueue
Abstract
Priority
Queue
abstract
class
AbstractPriorityQueue
<
T
>
:
Queue
<
T
>
Inheritors
ComparablePriorityQueue
ComparatorPriorityQueue
Members
Members & Extensions
Constructors
Abstract
Priority
Queue
Link copied to clipboard
constructor
(
)
Properties
count
Link copied to clipboard
open
override
val
count
:
Int
heap
Link copied to clipboard
abstract
val
heap
:
Heap
<
T
>
is
Empty
Link copied to clipboard
abstract
val
isEmpty
:
Boolean
is
Not
Empty
Link copied to clipboard
open
val
isNotEmpty
:
Boolean
Functions
dequeue
Link copied to clipboard
open
override
fun
dequeue
(
)
:
T
?
enqueue
Link copied to clipboard
open
override
fun
enqueue
(
element
:
T
)
:
Boolean
peek
Link copied to clipboard
open
override
fun
peek
(
)
:
T
?
reverse
Link copied to clipboard
fun
<
T
>
Queue
<
T
>
.
reverse
(
)