MultiSet keyed by name. Lookups may accept either name or name.valueHex.

Hierarchy (View Summary)

Constructors

Accessors

Methods

Constructors

Accessors

  • get dimension(): number
  • Number of distinct keys.

    Returns number

  • get size(): number
  • Number of values.

    Returns number

Methods

  • Add a key.

    Parameters

    Returns number

    Number of occurrences after the operation.

  • Count occurrences of a key.

    Parameters

    Returns number

  • Iterate over key and number of occurrences.

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

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

    Parameters

    Returns number

    Number of occurrences after the operation.