Class default<T>

An implementation of Binary Heap.

Type Parameters

  • T

Hierarchy

  • BasePriorityQueue
    • default

Implements

Constructors

Properties

Accessors

Methods

Constructors

Properties

_kind: string
collection: T[] = []
comparator: Comparator<T>

Accessors

  • get length(): number
  • Returns number

Methods

  • Returns void

  • Returns boolean

  • Type Parameters

    Parameters

    • other: Instance

    Returns void

  • Returns T

  • Parameters

    • value: T

    Returns void

  • Returns T[]

  • Returns T

Generated using TypeDoc