Class KeyMultiSet<K, I, L>

MultiSet that transforms keys.

Type Parameters

  • K

    Input key type.

  • I

    Indexable key type.

  • L = K

    Lookup key type.

Hierarchy

  • KeyMultiSet

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    Methods

    • Iterate over key and number of occurrences.

      Returns IterableIterator<[key: K, count: number], any, any>

    • Remove a key. No-op if key does not exist.

      Parameters

      • key: K

      Returns number

      Number of occurrences after the operation.