Skip to main content

interface BiMultiMapGeneric.Creators

undocumented

Methods

createContext

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

Definition

createContext<UK, UV>(options: {
      keyValueMultiMapContext: MultiMap.Context<UK, UV>;
      valueKeyMultiMapContext: MultiMap.Context<UV, UK>;
    }): BiMultiMap.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{
      keyValueMultiMapContext: MultiMap.Context<UK, UV>;
      valueKeyMultiMapContext: MultiMap.Context<UV, UK>;
    }
an object containing the following properties:
- keyValueMultiMapContext: the map context to use for key value multimaps
- valueKeyMultiMapContext: the set context to use for value key multimaps