priorityqueue
    Preparing search index...

    Class default<T>

    An implementation of Binary Heap.

    Type Parameters

    • T

    Hierarchy

    • BasePriorityQueue
      • default

    Implements

    Index

    Constructors

    Properties

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

    Accessors

    • get length(): number

      Returns size of the priority queue.

      Returns number

    Methods