Options
All
  • Public
  • Public/Protected
  • All
Menu

A replicated multimap (map of sets).

A replicated map that maps keys to values, where each key may be associated with multiple values.

Type Parameters

Hierarchy

  • ReplicatedMultiMap

Implements

Index

Constructors

Methods

  • get(key: Key): Set<Value>
  • Get the values for the given key.

    Parameters

    • key: Key

      The key of the entry

    Returns Set<Value>

    The current values at the given key, or an empty Set

  • has(key: Key): boolean
  • Check whether this multimap contains at least one value for the given key.

    Parameters

    • key: Key

      The key to check

    Returns boolean

    True if this multimap contains any values for the given key

  • hasValue(key: Key, value: Value): boolean
  • Check whether this multimap contains the given value associated with the given key.

    Parameters

    • key: Key

      The key to check

    • value: Value

      The value to check

    Returns boolean

    True if the key-value pair is in this multimap

  • keys(): IterableIterator<Key>
  • toString(): string

Accessors

  • get size(): number
  • get keysSize(): number

Generated using TypeDoc