interface BiMultiMapGeneric.Creators
undocumented
Methods
createContext
Returns a new BiMultiMap context instance based on the given options.
createContextoptions.Definition
createContext<UK, UV>(options: {
keyValueMultiMapContext: MultiMap.Context<UK, UV>;
valueKeyMultiMapContext: MultiMap.Context<UV, UK>;
}): BiMultiMap.Context<UK, UV>;
Type parameters
| Name | Description |
|---|---|
| UK | the upper key type for which the context can create instances |
| UV | the upper value type for which the context can create instances |
Parameters
| Name | Type | Description |
|---|---|---|
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 |