Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PriorityQueue<T>

Type parameters

  • T

Hierarchy

  • PriorityQueue

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Readonly type

Methods

entries

  • entries(): IterableIterator<T>
  • Returns IterableIterator<T>

getLength

  • getLength(): number
  • Returns number

isEmpty

  • isEmpty(): boolean
  • Returns boolean

pop

  • pop(): T | undefined
  • Returns T | undefined

push

  • push(data: T, priority: number): void
  • Parameters

    • data: T
    • priority: number

    Returns void

Generated using TypeDoc