Constructors

Properties

_comparator: ((a, b) => boolean)

Type declaration

    • (a, b): boolean
    • Parameters

      • a: any
      • b: any

      Returns boolean

_heap: any[]
_keyMap: Map<any, number>

Methods

  • Parameters

    • retrievingFunction: ((a) => boolean)
        • (a): boolean
        • Parameters

          • a: any

          Returns boolean

    • node: number

    Returns number

  • Parameters

    • retrievingFunction: ((a) => boolean)
        • (a): boolean
        • Parameters

          • a: any

          Returns boolean

    Returns number

  • Parameters

    • retrievingFunction: ((a) => boolean)
        • (a): boolean
        • Parameters

          • a: any

          Returns boolean

    Returns void

  • Parameters

    • value: any
    • replacingFunction: ((a) => boolean)
        • (a): boolean
        • Parameters

          • a: any

          Returns boolean

    Returns void