Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PriorityQueue<K>

Type parameters

  • K

Hierarchy

  • PriorityQueue

Implements

Index

Constructors

constructor

Methods

__@iterator

  • __@iterator(): Iterator<K>

add

  • add(k: K): boolean

clear

  • clear(): void

contains

  • contains(k: K): boolean

element

  • element(): K

forEach

immutableCollection

isEmpty

  • isEmpty(): boolean

iterator

offer

  • offer(k: K): boolean

peek

  • peek(): K

poll

  • poll(): K

remove

  • remove(k: K): boolean

removeQueue

  • removeQueue(): K

size

  • size(): number

toJSON

  • toJSON(): Array<K>

Generated using TypeDoc