Skip to main content

interface BiMap.Context<UK,UV,Tp>

The BiMap's Context instance that serves as a factory for all related immutable instances and builders.

Type parameters​

NameConstraintsDefaultDescription
UKthe upper type limit for key types for which this context can create instances
UVthe upper type limit for value types for which this context can create instances
TpBiMap.TypesBiMap.Typesundocumented

Properties​

_types​

undocumented

Definition​

readonly _types: Tp;

keyValueContext​

undocumented

Definition​

readonly keyValueContext: RMap.Context<UK>;

typeTag​

A string tag defining the specific collection type

Definition​

readonly typeTag: 'BiMap';

example
BiMap.defaultContext().typeTag   // => 'BiMap'

valueKeyContext​

undocumented

Definition​

readonly valueKeyContext: RMap.Context<UV>;