Skip to main content

interface MultiMapCreators

undocumented

Methods

createContext

Returns a new MultiMap context instance based on the given options.

Definition

createContext<UK, UV>(options: {
    keyMapContext: RMap.Context<UK>;
    keyMapValuesContext: RSet.Context<UV>;
  }): MultiMap.Context<UK, UV>;

Type parameters

NameDescription
UKthe upper key type for which the context can create instances
UVthe upper value type for which the context can create instances

Parameters

NameTypeDescription
options{
    keyMapContext: RMap.Context<UK>;
    keyMapValuesContext: RSet.Context<UV>;
  }
an object containing the following properties:
- keyMapContext: the map context to use for key to valueset mappings
- keyMapValuesContext: the set context to use for value sets