Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
Rx
internals
PriorityQueue
Class PriorityQueue
Index
Constructor methods
constructor
Properties
count
length
Methods
dequeue
enqueue
heapify
isHigherPriority
peek
percolate
remove
removeAt
Constructor methods
constructor
(
capacity
:
number
)
:
PriorityQueue
Parameters
capacity:
number
Returns
PriorityQueue
Properties
public
static
count
:
number
public
length
:
number
Methods
public
dequeue
(
)
:
ScheduledItem
Returns
ScheduledItem
public
enqueue
(
item
:
ScheduledItem
)
Parameters
item:
ScheduledItem
public
heapify
(
index
:
number
)
Parameters
index:
number
public
isHigherPriority
(
left
:
number
, right
:
number
)
:
boolean
Parameters
left:
number
right:
number
Returns
boolean
public
peek
(
)
:
ScheduledItem
Returns
ScheduledItem
public
percolate
(
index
:
number
)
Parameters
index:
number
public
remove
(
item
:
ScheduledItem
)
:
boolean
Parameters
item:
ScheduledItem
Returns
boolean
public
removeAt
(
index
:
number
)
Parameters
index:
number
Globals
Rx
Rx.config
Rx.helpers
Rx.internals
jquery
rx
PriorityQueue
constructor
count
length
dequeue
enqueue
heapify
isHigherPriority
peek
percolate
remove
removeAt
ScheduledItem
addRef
isEqual